diff --git a/src/db/build/LeafDB.Data.sql b/src/db/build/LeafDB.Data.sql index 26a7e85a1..c14a0de33 100644 --- a/src/db/build/LeafDB.Data.sql +++ b/src/db/build/LeafDB.Data.sql @@ -495,4 +495,4 @@ INSERT [auth].[Constraint] ([Id], [Type]) VALUES (1, N'User') INSERT [auth].[Constraint] ([Id], [Type]) VALUES (2, N'Group') SET IDENTITY_INSERT [auth].[Constraint] OFF INSERT [network].[Identity] ([Lock], [Name], [Abbreviation], [Description], [TotalPatients], [Latitude], [Longitude], [PrimaryColor], [SecondaryColor]) VALUES (N'X', N'University of Washington', N'UW', N'UW Medicine is the most comprehensive integrated health system in the Puget Sound region, comprising 4 hospitals and hundreds of clinics', 4600000, CAST(47.6062 AS Decimal(7, 4)), CAST(-122.3321 AS Decimal(7, 4)), N'rgb(75, 46, 131)', N'rgb(183, 165, 122)') -INSERT [ref].[Version] ([Lock], [Version]) VALUES (N'X', N'3.7.2') +INSERT [ref].[Version] ([Lock], [Version]) VALUES (N'X', N'3.8.0') diff --git a/src/db/build/LeafDB.Init.sql b/src/db/build/LeafDB.Init.sql index fa6451453..d882b3b2a 100644 --- a/src/db/build/LeafDB.Init.sql +++ b/src/db/build/LeafDB.Init.sql @@ -39,4 +39,4 @@ SELECT ,[SecondaryColor] = 'rgb(183, 165, 122)' INSERT INTO [ref].[Version] (Lock, [Version]) -SELECT 'X', N'3.7.2'; +SELECT 'X', N'3.8.0'; diff --git a/src/db/migration/3.7.2__3.8.0.sql b/src/db/migration/3.7.2__3.8.0.sql new file mode 100644 index 000000000..652ceb874 --- /dev/null +++ b/src/db/migration/3.7.2__3.8.0.sql @@ -0,0 +1,5 @@ +/* + * No database changes, just update version. + */ +UPDATE ref.[Version] +SET [Version] = '3.8.0' \ No newline at end of file diff --git a/src/server/API/appsettings.json b/src/server/API/appsettings.json index 10ecc6a25..f56a027a7 100644 --- a/src/server/API/appsettings.json +++ b/src/server/API/appsettings.json @@ -17,7 +17,7 @@ "Connection": "LEAF_CLIN_DB", "DefaultTimeout": 180, "Cohort": { - "QueryStrategy": "PARALLEL", + "QueryStrategy": "CTE", "MaxParallelThreads": 5 } }