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");