[성현모] [HubX] DB 프로젝트 생성, DB 스크립트 추가
This commit is contained in:
25
Projects/HubX/DBPatch/UpdateHubXDB.bat
Normal file
25
Projects/HubX/DBPatch/UpdateHubXDB.bat
Normal file
@ -0,0 +1,25 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user