Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
#25. Reviewing on sample database projects solution
Browse files Browse the repository at this point in the history
  • Loading branch information
matei-tm committed Jan 4, 2021
1 parent fceec62 commit 8b319b1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,19 @@
<None Include="ContinuousDeployment\1.PreDeployment.Updates.sql" />
<None Include="ContinuousDeployment\2.PostDeployment.StaticTablesList.sql" />
<None Include="ContinuousDeployment\3.PostDeployment.Updates.sql" />
<Build Include="dbo\Tables\sampleData.sql" />
<Build Include="dbo\Tables\sample.sql" />
</ItemGroup>
<ItemGroup>
<PostDeploy Include="Scripts\Script.PostDeployment.sql" />
</ItemGroup>
<ItemGroup>
<PreDeploy Include="Scripts\Script.PreDeployment.sql" />
</ItemGroup>
<ItemGroup>
<ArtifactReference Include="$(DacPacRootPath)\Extensions\Microsoft\SQLDB\Extensions\SqlServer\130\SqlSchemas\master.dacpac">
<HintPath>$(DacPacRootPath)\Extensions\Microsoft\SQLDB\Extensions\SqlServer\130\SqlSchemas\master.dacpac</HintPath>
<SuppressMissingDependenciesErrors>False</SuppressMissingDependenciesErrors>
<DatabaseVariableLiteralValue>master</DatabaseVariableLiteralValue>
</ArtifactReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE TABLE [dbo].[sampleData]
CREATE TABLE [dbo].[sample]
(
[Id] INT NOT NULL PRIMARY KEY,
[Scope] NVARCHAR(50)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<None Include="ContinuousDeployment\Datapatches\common\fix01.datapatch.all.sql" />
<None Include="ContinuousDeployment\Datapatches\targetDb01\_db01.main.datapatch.sql" />
<None Include="ContinuousDeployment\Datapatches\targetDb02\_db02.main.datapatch.sql" />
<Build Include="dbo\Tables\sampleData.sql" />
<Build Include="dbo\Tables\sample.sql" />
<None Include="ContinuousDeployment\Datapatches\common\fix02.datapatch.all.sql" />
<None Include="ContinuousDeployment\Datapatches\common\fix03.datapatch.sub.sql" />
</ItemGroup>
Expand All @@ -92,4 +92,11 @@
<None Include="ContinuousDeployment\2.PostDeployment.StaticTablesList.sql" />
<None Include="ContinuousDeployment\StaticTables\StaticTableExample.sql" />
</ItemGroup>
<ItemGroup>
<ArtifactReference Include="$(DacPacRootPath)\Extensions\Microsoft\SQLDB\Extensions\SqlServer\130\SqlSchemas\master.dacpac">
<HintPath>$(DacPacRootPath)\Extensions\Microsoft\SQLDB\Extensions\SqlServer\130\SqlSchemas\master.dacpac</HintPath>
<SuppressMissingDependenciesErrors>False</SuppressMissingDependenciesErrors>
<DatabaseVariableLiteralValue>master</DatabaseVariableLiteralValue>
</ArtifactReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE TABLE [dbo].[sampleData]
CREATE TABLE [dbo].[sample]
(
[Id] INT NOT NULL PRIMARY KEY,
[Scope] NVARCHAR(50)
Expand Down

0 comments on commit 8b319b1

Please sign in to comment.