using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace AsbCloudDb.Migrations { public partial class Add_separated_subsystems : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.InsertData( table: "t_subsystem", columns: new[] { "id", "description", "name" }, values: new object[,] { { 11, "Режим работы \"Бурение в роторе\"", "АПД ротор" }, { 12, "Режим работы \"Бурение в слайде\"", "АПД слайд" } }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DeleteData( table: "t_subsystem", keyColumn: "id", keyValue: 11); migrationBuilder.DeleteData( table: "t_subsystem", keyColumn: "id", keyValue: 12); } } }