Skip to content

Commit

Permalink
Cleanup search parameters on historical resources (#3847)
Browse files Browse the repository at this point in the history
  • Loading branch information
LTA-Thinking authored May 10, 2024
1 parent 4a1b5ee commit 5a98e34
Show file tree
Hide file tree
Showing 7 changed files with 5,136 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/validate-prs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Validate Pull Request

on:
pull_request:
pull_request_target:
branches:
- main
types:
Expand All @@ -11,8 +11,6 @@ on:
- reopened
- synchronize
- edited
- milestoned
- demilestoned

env:
LABELS: ${{ join( github.event.pull_request.labels.*.name, ' ' ) }}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Execute dbo.DeleteHistory 0,0,0
5,130 changes: 5,130 additions & 0 deletions src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Migrations/80.sql

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ public enum SchemaVersion
V77 = 77,
V78 = 78,
V79 = 79,
V80 = 80,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Health.Fhir.SqlServer.Features.Schema
public static class SchemaVersionConstants
{
public const int Min = (int)SchemaVersion.V73;
public const int Max = (int)SchemaVersion.V79;
public const int Max = (int)SchemaVersion.V80;
public const int MinForUpgrade = (int)SchemaVersion.V73; // this is used for upgrade tests only
public const int SearchParameterStatusSchemaVersion = (int)SchemaVersion.V6;
public const int SupportForReferencesWithMissingTypeVersion = (int)SchemaVersion.V7;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ Go

INSERT INTO dbo.SchemaVersion
VALUES
(79, 'started')
(80, 'started')

Go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- Properties used by sql task to generate full script -->
<PropertyGroup>
<LatestSchemaVersion>79</LatestSchemaVersion>
<LatestSchemaVersion>80</LatestSchemaVersion>
<GeneratedFullScriptPath>Features\Schema\Migrations\$(LatestSchemaVersion).sql</GeneratedFullScriptPath>
</PropertyGroup>

Expand Down

0 comments on commit 5a98e34

Please sign in to comment.