File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ CREATE TABLE [web].[sessions] (
2
2
[id] INT DEFAULT (NEXT VALUE FOR [web].[global_id]) NOT NULL ,
3
3
[title] NVARCHAR (200 ) NOT NULL ,
4
4
[abstract] NVARCHAR (MAX ) NOT NULL ,
5
- [external_id] VARCHAR (100 ) COLLATE Latin1_General_100_BIN2 NULL ,
5
+ [external_id] VARCHAR (100 ) COLLATE Latin1_General_100_BIN2 NOT NULL ,
6
6
[last_fetched] DATETIME2 (7 ) NULL ,
7
- [start_time_PST] DATETIME2 (0 ) NULL ,
8
- [end_time_PST] DATETIME2 (0 ) NULL ,
7
+ [start_time_PST] DATETIME2 (0 ) NOT NULL ,
8
+ [end_time_PST] DATETIME2 (0 ) NOT NULL ,
9
9
[tags] NVARCHAR (MAX ) NULL ,
10
10
[recording_url] VARCHAR (1000 ) NULL ,
11
11
[require_embeddings_update] BIT DEFAULT ((0 )) NOT NULL ,
Original file line number Diff line number Diff line change 7
7
<DSP >Microsoft.Data.Tools.Schema.Sql.SqlAzureV12DatabaseSchemaProvider</DSP >
8
8
<ModelCollation >1033, CI</ModelCollation >
9
9
<IsChangeTrackingOn >True</IsChangeTrackingOn >
10
+ <BuildDependsOn >CopyDacpac</BuildDependsOn >
10
11
</PropertyGroup >
11
12
<ItemGroup >
12
13
<PackageReference Include =" Microsoft.SqlServer.Dacpacs.Azure.Master" >
40
41
<ItemGroup >
41
42
<PostDeploy Include =" Script.PostDeployment.sql" />
42
43
</ItemGroup >
43
- <Target Name =" BeforeBuild" >
44
- <Delete Files =" $(BaseIntermediateOutputPath)\project.assets.json" />
45
- </Target >
46
- <Target Name =" AfterBuild" >
44
+ <ItemGroup >
45
+ <DeploySpecificFolders Include =" $(OutputPath)\*.dacpac" >
46
+ <FolderToCopyTo >$(ProjectDir)/../</FolderToCopyTo >
47
+ </DeploySpecificFolders >
48
+ </ItemGroup >
49
+ <Target Name =" CopyDacpac" AfterTargets =" Build" >
47
50
<Message Text =" Copying dacpacs..." Importance =" high" />
48
- <Copy SourceFiles =" $(OutputPath)\*.dacpac " DestinationFolder =" $(OutputPath)\..\..\.. " />
51
+ <Copy SourceFiles =" @(DeploySpecificFolders) " DestinationFolder =" %(DeploySpecificFolders.FolderToCopyTo) " />
49
52
</Target >
50
53
</Project >
You can’t perform that action at this time.
0 commit comments