using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DaSaSo.EntityFramework.Migrations { public partial class DeletedPrepartionFromDamage : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PreparationType", table: "SewerDamages"); migrationBuilder.DropColumn( name: "CleanedHD", table: "PipeLiners"); migrationBuilder.DropColumn( name: "CleanedMechanisch", table: "PipeLiners"); migrationBuilder.DropColumn( name: "CleanedRoborter", table: "PipeLiners"); migrationBuilder.AddColumn( name: "PreparationType", table: "PipeLiners", type: "integer", nullable: false, defaultValue: 0); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PreparationType", table: "PipeLiners"); migrationBuilder.AddColumn( name: "PreparationType", table: "SewerDamages", type: "integer", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "CleanedHD", table: "PipeLiners", type: "boolean", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "CleanedMechanisch", table: "PipeLiners", type: "boolean", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "CleanedRoborter", table: "PipeLiners", type: "boolean", nullable: false, defaultValue: false); } } }