Skip to content

Commit

Permalink
Demo project related to discussion #17
Browse files Browse the repository at this point in the history
  • Loading branch information
NowinskiK committed Feb 23, 2022
1 parent d66dc0b commit 59be940
Show file tree
Hide file tree
Showing 14 changed files with 758 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/CSIndexes/CSIndexes.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30523.141
MinimumVisualStudioVersion = 10.0.40219.1
Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "StackOverflow", "StackOverflow\StackOverflow.sqlproj", "{2E990684-7A75-46EB-8CFB-26B6D6A5ADFB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2E990684-7A75-46EB-8CFB-26B6D6A5ADFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2E990684-7A75-46EB-8CFB-26B6D6A5ADFB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2E990684-7A75-46EB-8CFB-26B6D6A5ADFB}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{2E990684-7A75-46EB-8CFB-26B6D6A5ADFB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2E990684-7A75-46EB-8CFB-26B6D6A5ADFB}.Release|Any CPU.Build.0 = Release|Any CPU
{2E990684-7A75-46EB-8CFB-26B6D6A5ADFB}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {99D14969-EB94-4AFD-9144-23F9F71BD309}
EndGlobalSection
EndGlobal
13 changes: 13 additions & 0 deletions src/CSIndexes/StackOverflow/Deployment/StackOverflow.publish.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IncludeCompositeObjects>True</IncludeCompositeObjects>
<TargetDatabaseName>Stackoverflow</TargetDatabaseName>
<DeployScriptFileName>StackOverflow.sql</DeployScriptFileName>
<TargetConnectionString>Data Source=sqlplayer.database.windows.net;Persist Security Info=False;User [email protected];Pooling=False;MultipleActiveResultSets=False;Connect Timeout=60;Encrypt=True;TrustServerCertificate=False;Authentication="Active Directory Interactive"</TargetConnectionString>
<ProfileVersionNumber>1</ProfileVersionNumber>
<BlockOnPossibleDataLoss>True</BlockOnPossibleDataLoss>
<ScriptDatabaseOptions>False</ScriptDatabaseOptions>
<IgnoreFillFactor>False</IgnoreFillFactor>
</PropertyGroup>
</Project>
13 changes: 13 additions & 0 deletions src/CSIndexes/StackOverflow/Deployment/StackOverflow2.publish.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IncludeCompositeObjects>True</IncludeCompositeObjects>
<TargetDatabaseName>Stackoverflow2</TargetDatabaseName>
<DeployScriptFileName>StackOverflow.sql</DeployScriptFileName>
<TargetConnectionString>Data Source=sqlplayer.database.windows.net;Persist Security Info=False;User [email protected];Pooling=False;MultipleActiveResultSets=False;Connect Timeout=60;Encrypt=True;TrustServerCertificate=False;Authentication="Active Directory Interactive"</TargetConnectionString>
<ProfileVersionNumber>1</ProfileVersionNumber>
<BlockOnPossibleDataLoss>True</BlockOnPossibleDataLoss>
<ScriptDatabaseOptions>False</ScriptDatabaseOptions>
<IgnoreFillFactor>False</IgnoreFillFactor>
</PropertyGroup>
</Project>
82 changes: 82 additions & 0 deletions src/CSIndexes/StackOverflow/StackOverflow.sqlproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<Name>StackOverflow</Name>
<SchemaVersion>2.0</SchemaVersion>
<ProjectVersion>4.1</ProjectVersion>
<ProjectGuid>{2e990684-7a75-46eb-8cfb-26b6d6a5adfb}</ProjectGuid>
<DSP>Microsoft.Data.Tools.Schema.Sql.SqlAzureV12DatabaseSchemaProvider</DSP>
<OutputType>Database</OutputType>
<RootPath>
</RootPath>
<RootNamespace>StackOverflow</RootNamespace>
<AssemblyName>StackOverflow</AssemblyName>
<ModelCollation>1033,CS</ModelCollation>
<DefaultFileStructure>BySchemaAndSchemaType</DefaultFileStructure>
<DeployToDatabase>True</DeployToDatabase>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetLanguage>CS</TargetLanguage>
<AppDesignerFolder>Properties</AppDesignerFolder>
<SqlServerVerification>False</SqlServerVerification>
<IncludeCompositeObjects>True</IncludeCompositeObjects>
<TargetDatabaseSet>True</TargetDatabaseSet>
<DefaultCollation>SQL_Latin1_General_CP1_CS_AS</DefaultCollation>
<DefaultFilegroup>PRIMARY</DefaultFilegroup>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>
<!-- Default to the v11.0 targets path if the targets file for the current VS version is not found -->
<SSDTExists Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists>
<VisualStudioVersion Condition="'$(SSDTExists)' == ''">11.0</VisualStudioVersion>
</PropertyGroup>
<Import Condition="'$(SQLDBExtensionsRefPath)' != ''" Project="$(SQLDBExtensionsRefPath)\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
<Import Condition="'$(SQLDBExtensionsRefPath)' == ''" Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
<ItemGroup>
<Folder Include="Properties" />
<Folder Include="dbo\" />
<Folder Include="dbo\Tables\" />
<Folder Include="dbo\Stored Procedures\" />
<Folder Include="Deployment" />
</ItemGroup>
<ItemGroup>
<Build Include="dbo\Tables\PostTypes.sql" />
<Build Include="dbo\Tables\Votes.sql" />
<Build Include="dbo\Tables\Users.sql" />
<Build Include="dbo\Tables\Posts.sql" />
<Build Include="dbo\Tables\Comments.sql" />
<Build Include="dbo\Tables\Badges.sql" />
<Build Include="dbo\Tables\PostLinks.sql" />
<Build Include="dbo\Tables\LinkTypes.sql" />
<Build Include="dbo\Tables\VoteTypes.sql" />
<Build Include="dbo\Stored Procedures\sp_BlitzWho.sql" />
</ItemGroup>
<ItemGroup>
<None Include="Deployment\StackOverflow.publish.xml" />
<None Include="Deployment\StackOverflow2.publish.xml" />
</ItemGroup>
</Project>
Loading

0 comments on commit 59be940

Please sign in to comment.