forked from ddrilling/AsbCloudServer
fix permission migration
This commit is contained in:
parent
c5131d0f07
commit
d9fcfd862e
@ -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" },
|
||||
|
Loading…
Reference in New Issue
Block a user