From 46fe11683042ee24851b3ebc50d4a50617ea8165 Mon Sep 17 00:00:00 2001 From: MiraGeowerkstatt Date: Tue, 20 Aug 2024 16:03:03 +0200 Subject: [PATCH] Fix migration style --- ...40820131544_RemoveSupplierFromWorkgroup.cs | 39 +++++++++---------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/src/api/Migrations/20240820131544_RemoveSupplierFromWorkgroup.cs b/src/api/Migrations/20240820131544_RemoveSupplierFromWorkgroup.cs index 9ba1b9295..3ce3b694a 100644 --- a/src/api/Migrations/20240820131544_RemoveSupplierFromWorkgroup.cs +++ b/src/api/Migrations/20240820131544_RemoveSupplierFromWorkgroup.cs @@ -2,29 +2,28 @@ #nullable disable -namespace BDMS.Migrations +namespace BDMS.Migrations; + +/// +public partial class RemoveSupplierFromWorkgroup : Migration { /// - public partial class RemoveSupplierFromWorkgroup : Migration + protected override void Up(MigrationBuilder migrationBuilder) { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropColumn( - name: "supplier_wgp", - schema: "bdms", - table: "workgroups"); - } + migrationBuilder.DropColumn( + name: "supplier_wgp", + schema: "bdms", + table: "workgroups"); + } - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.AddColumn( - name: "supplier_wgp", - schema: "bdms", - table: "workgroups", - type: "boolean", - nullable: true); - } + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "supplier_wgp", + schema: "bdms", + table: "workgroups", + type: "boolean", + nullable: true); } }