Skip to content

Commit 6ec0d62

Browse files
(#2) Add additional example scripts
1 parent 9fe1b0c commit 6ec0d62

File tree

3 files changed

+32
-13
lines changed

3 files changed

+32
-13
lines changed

src/SQL Scripts/CreateNewConfigurationValue.sql

Whitespace-only changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
BEGIN TRANSACTION
2+
3+
UPDATE Stravaig.AppConfiguration
4+
SET ConfigValue = 'A different value from the database.'
5+
WHERE ConfigKey = 'MyConfiguration:SomeString'
6+
7+
8+
UPDATE Stravaig.AppConfiguration
9+
SET ConfigValue = 'true'
10+
WHERE ConfigKey = 'FeatureManager:FeatureC'
11+
12+
COMMIT TRANSACTION

src/Stravaig.Configuration.SqlServer.sln

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30804.86
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.32014.148
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "__BuildAndDeploy", "__BuildAndDeploy", "{3D36916B-2367-4624-BDCF-864173796B30}"
77
ProjectSection(SolutionItems) = preProject
@@ -22,18 +22,23 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "__Documentation", "__Docume
2222
..\release-notes\wip-release-notes.md = ..\release-notes\wip-release-notes.md
2323
EndProjectSection
2424
EndProject
25-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stravaig.Configuration.SqlServer", "Stravaig.Configuration.SqlServer\Stravaig.Configuration.SqlServer.csproj", "{B88BF94B-A66D-4AE6-BE6B-FCE820552E21}"
25+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Stravaig.Configuration.SqlServer", "Stravaig.Configuration.SqlServer\Stravaig.Configuration.SqlServer.csproj", "{B88BF94B-A66D-4AE6-BE6B-FCE820552E21}"
2626
EndProject
27-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stravaig.Configuration.SqlServer.Tests", "Stravaig.Configuration.SqlServer.Tests\Stravaig.Configuration.SqlServer.Tests.csproj", "{53C021C0-CFED-42BE-AD1D-DDAB4F44E83D}"
27+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Stravaig.Configuration.SqlServer.Tests", "Stravaig.Configuration.SqlServer.Tests\Stravaig.Configuration.SqlServer.Tests.csproj", "{53C021C0-CFED-42BE-AD1D-DDAB4F44E83D}"
2828
EndProject
29-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example", "Example\Example.csproj", "{A5C751ED-34E2-49E2-8A49-E927D1B674EA}"
29+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example", "Example\Example.csproj", "{A5C751ED-34E2-49E2-8A49-E927D1B674EA}"
30+
EndProject
31+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "__SQL_Scripts", "__SQL_Scripts", "{4CC2CFFC-F0D3-4481-85CB-8477FEFBDBDB}"
32+
ProjectSection(SolutionItems) = preProject
33+
SQL Scripts\CreateAppConfigurationTable.sql = SQL Scripts\CreateAppConfigurationTable.sql
34+
SQL Scripts\CreateNewConfigurationValue.sql = SQL Scripts\CreateNewConfigurationValue.sql
35+
SQL Scripts\UpdateConfigurationValues.sql = SQL Scripts\UpdateConfigurationValues.sql
36+
EndProjectSection
3037
EndProject
3138
Global
32-
GlobalSection(SolutionProperties) = preSolution
33-
HideSolutionNode = FALSE
34-
EndGlobalSection
35-
GlobalSection(ExtensibilityGlobals) = postSolution
36-
SolutionGuid = {064958BE-42C5-4268-8132-49EF6D009D99}
39+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
40+
Debug|Any CPU = Debug|Any CPU
41+
Release|Any CPU = Release|Any CPU
3742
EndGlobalSection
3843
GlobalSection(ProjectConfigurationPlatforms) = postSolution
3944
{B88BF94B-A66D-4AE6-BE6B-FCE820552E21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -49,8 +54,10 @@ Global
4954
{A5C751ED-34E2-49E2-8A49-E927D1B674EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
5055
{A5C751ED-34E2-49E2-8A49-E927D1B674EA}.Release|Any CPU.Build.0 = Release|Any CPU
5156
EndGlobalSection
52-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
53-
Debug|Any CPU = Debug|Any CPU
54-
Release|Any CPU = Release|Any CPU
57+
GlobalSection(SolutionProperties) = preSolution
58+
HideSolutionNode = FALSE
59+
EndGlobalSection
60+
GlobalSection(ExtensibilityGlobals) = postSolution
61+
SolutionGuid = {064958BE-42C5-4268-8132-49EF6D009D99}
5562
EndGlobalSection
5663
EndGlobal

0 commit comments

Comments
 (0)