fix permission migration

This commit is contained in:
ngfrolov 2023-01-18 13:57:21 +05:00
parent c5131d0f07
commit d9fcfd862e
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -19,11 +19,6 @@ namespace AsbCloudDb.Migrations
{ 512, "Разрешение удалять плановая траектория", "TelemetryWirelineRunOut.delete" }
});
migrationBuilder.InsertData(
table: "t_relation_user_role_permission",
columns: new[] { "id_permission", "id_user_role" },
values: new object[] { 506, 1 });
migrationBuilder.InsertData(
table: "t_relation_user_role_permission",
columns: new[] { "id_permission", "id_user_role" },
@ -39,11 +34,6 @@ namespace AsbCloudDb.Migrations
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "t_relation_user_role_permission",
keyColumns: new[] { "id_permission", "id_user_role" },
keyValues: new object[] { 506, 1 });
migrationBuilder.DeleteData(
table: "t_relation_user_role_permission",
keyColumns: new[] { "id_permission", "id_user_role" },