Skip to content

Commit

Permalink
chore: fix migration error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD authored Jun 10, 2024
1 parent 077c501 commit 45b2e6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ FROM [{Infrastructure.Schema.Legacy}].[{ParcelDetailConfiguration.TableName}]

migrationBuilder.Sql($@"CREATE UNIQUE CLUSTERED INDEX IX_{LegacyContext.ParcelDetailListCountName} ON [{Infrastructure.Schema.Legacy}].[{LegacyContext.ParcelDetailListCountName}] (Count)");

migrationBuilder.Sql($"DELETE FROM [{Infrastructure.Schema.Legacy}].[ProjectionStates] WHERE [Name] = 'ParcelRegistry.Projections.Legacy.ParcelDetailV2.ParcelDetailV2Projections'");
migrationBuilder.Sql($"DELETE FROM [{Infrastructure.Schema.Legacy}].[ProjectionStates] WHERE [Name] in ('ParcelRegistry.Projections.Legacy.ParcelDetailV2.ParcelDetailV2Projections', 'ParcelRegistry.Projections.Legacy.ParcelDetail.ParcelDetailProjections')");
migrationBuilder.Sql($"UPDATE [{Infrastructure.Schema.Legacy}].[ProjectionStates] SET [Name] = 'ParcelRegistry.Projections.Legacy.ParcelDetail.ParcelDetailProjections' WHERE [Name] = 'ParcelRegistry.Projections.Legacy.ParcelDetailWithCountV2.ParcelDetailV2Projections'");
}

Expand Down

0 comments on commit 45b2e6e

Please sign in to comment.