Skip to content

Commit

Permalink
Update ingest project type to Azure SQL, instead of SQL Server 2016. …
Browse files Browse the repository at this point in the history
…Add ingest schema
  • Loading branch information
MattPCollins committed Mar 19, 2024
1 parent c700c4d commit 59f185b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/metadata.ingest/Security/ingest.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE SCHEMA [ingest]
AUTHORIZATION [dbo];

7 changes: 6 additions & 1 deletion src/metadata.ingest/metadata.ingest.sqlproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<SchemaVersion>2.0</SchemaVersion>
<ProjectVersion>4.1</ProjectVersion>
<ProjectGuid>{882d4321-8587-45d2-8db3-a88efb3fcb7a}</ProjectGuid>
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider</DSP>
<DSP>Microsoft.Data.Tools.Schema.Sql.SqlAzureV12DatabaseSchemaProvider</DSP>
<OutputType>Database</OutputType>
<RootPath>
</RootPath>
Expand All @@ -22,6 +22,7 @@
<SqlServerVerification>False</SqlServerVerification>
<IncludeCompositeObjects>True</IncludeCompositeObjects>
<TargetDatabaseSet>True</TargetDatabaseSet>
<DefaultSchema>cumulus.ingest</DefaultSchema>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
Expand Down Expand Up @@ -56,5 +57,9 @@
<Import Condition="'$(SQLDBExtensionsRefPath)' == ''" Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
<ItemGroup>
<Folder Include="Properties" />
<Folder Include="Security" />
</ItemGroup>
<ItemGroup>
<Build Include="Security\ingest.sql" />
</ItemGroup>
</Project>

0 comments on commit 59f185b

Please sign in to comment.