From 660c9b9edecd3ab39444a4b1a1e3f1a69e136f30 Mon Sep 17 00:00:00 2001 From: jvandaal Date: Mon, 27 May 2024 10:14:30 +0200 Subject: [PATCH] fix: drop vw_ParcelDetailListCount --- .../Migrations/20240524110656_DeleteV1.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ParcelRegistry.Projections.Legacy/Migrations/20240524110656_DeleteV1.cs b/src/ParcelRegistry.Projections.Legacy/Migrations/20240524110656_DeleteV1.cs index 8807270f..818697ba 100644 --- a/src/ParcelRegistry.Projections.Legacy/Migrations/20240524110656_DeleteV1.cs +++ b/src/ParcelRegistry.Projections.Legacy/Migrations/20240524110656_DeleteV1.cs @@ -11,6 +11,8 @@ public partial class DeleteV1 : Migration /// protected override void Up(MigrationBuilder migrationBuilder) { + migrationBuilder.Sql($@"DROP VIEW [{Infrastructure.Schema.Legacy}].[vw_ParcelDetailListCount]"); + migrationBuilder.DropTable( name: "ParcelAddresses", schema: "ParcelRegistryLegacy");