Possible fix for permission drop table

This commit is contained in:
Kwoth
2021-08-09 21:18:48 +02:00
parent d67f0b1850
commit 5990430d5a
2 changed files with 4 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ namespace NadekoBot.Migrations
name: "FK_GuildConfigs_Permission_RootPermissionId",
table: "GuildConfigs");
migrationBuilder.Sql("UPDATE Permission SET NextId = NULL;");
migrationBuilder.DropTable(
name: "Permission");