using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace AsbCloudDb.Migrations { public partial class Daily_report_lost_migration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DeleteData( table: "t_relation_user_role_permission", keyColumns: new[] { "id_permission", "id_user_role" }, keyValues: new object[] { 529, 1 }); migrationBuilder.DeleteData( table: "t_permission", keyColumn: "id", keyValue: 529); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.InsertData( table: "t_permission", columns: new[] { "id", "description", "name" }, values: new object[] { 529, "Разрешение редактировать фактические траектории", "FactTrajectory.edit" }); migrationBuilder.InsertData( table: "t_relation_user_role_permission", columns: new[] { "id_permission", "id_user_role" }, values: new object[] { 529, 1 }); } } }