[성현모] UniqueKeyDB Scaffold 스크립트 추가, DLL 빌드 이벤트 배치로 변경
This commit is contained in:
@ -20,4 +20,4 @@ CALL _UpdateScriptGenerate.bat %Schema% %ServerIP% %ServerPort% %UserID% %Passwd
|
||||
|
||||
::Default DB
|
||||
::CALL _UpdateDB.bat %Schema% %ServerIP% %ServerPort% %UserID% %Passwd% %DBName%
|
||||
CALL _UpdateDB.bat %Schema% %ServerIP% %ServerPort% %UserID% %Passwd% %DBName%_DEV
|
||||
::CALL _UpdateDB.bat %Schema% %ServerIP% %ServerPort% %UserID% %Passwd% %DBName%_DEV
|
||||
@ -1,4 +1,4 @@
|
||||
::AccountDB
|
||||
cd ../SystemX.Core/SystemX.Core.DB
|
||||
cd ../Projects/SystemX.Core/SystemX.Core.DB
|
||||
|
||||
dotnet ef dbcontext scaffold "server=127.0.0.1; user id=SystemX; password=X; database=AccountDB; TrustServerCertificate=true;" Microsoft.EntityFrameworkCore.SqlServer --namespace SystemX.Core.DB --context-dir AccountDB\Context --output-dir AccountDB\Tables -f --use-database-names --no-onconfiguring
|
||||
4
DBPatch/Tool_UniqueKeyDB_Scaffold.bat
Normal file
4
DBPatch/Tool_UniqueKeyDB_Scaffold.bat
Normal file
@ -0,0 +1,4 @@
|
||||
::AccountDB
|
||||
cd ../Projects/SystemX.Core/SystemX.Core.DB
|
||||
|
||||
dotnet ef dbcontext scaffold "server=127.0.0.1; user id=SystemX; password=X; database=UniqueKeyDB; TrustServerCertificate=true;" Microsoft.EntityFrameworkCore.SqlServer --namespace SystemX.Core.DB --context-dir UniqueKeyDB\Context --output-dir UniqueKeyDB\Tables -f --use-database-names --no-onconfiguring
|
||||
@ -41,15 +41,6 @@ GO
|
||||
USE [$(DatabaseName)];
|
||||
|
||||
|
||||
GO
|
||||
PRINT N'테이블 [dbo].[tUser]을(를) 변경하는 중...';
|
||||
|
||||
|
||||
GO
|
||||
ALTER TABLE [dbo].[tUser]
|
||||
ADD [cUpdateTest] NCHAR (10) NULL;
|
||||
|
||||
|
||||
GO
|
||||
/*
|
||||
배포 후 스크립트 템플릿
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user