Files
SystemX.Web/Projects/HubX/DBPatch/UpdateHubXDB.bat

25 lines
581 B
Batchfile

@echo off
::log
IF NOT EXIST .\logs mkdir logs
::서버연결정보
SET ServerIP=127.0.0.1
SET ServerPort=1433
::DB 정보
SET UserID=VPKI
SET Passwd=Kefico!@34
SET DBName=HUBX_001_DEV
::Update script 정보
SET Dacpac=.\sqlScripts\dacpac\HubX.DB.dacpac
SET OUTPUT=HubX.DB_Update.sql
@echo off
::generate update script
CALL _UpdateScriptGenerate.bat %ServerIP% %ServerPort% %UserID% %Passwd% %DBName% %Dacpac% %OUTPUT%
::Default DB
CALL _UpdateDB.bat %ServerIP% %ServerPort% %UserID% %Passwd% HubX_001
CALL _UpdateDB.bat %ServerIP% %ServerPort% %UserID% %Passwd% HubX_001_DEV