- Automatically update permissions for CustomReactions to Expressions during

- Small refactor
This commit is contained in:
Kwoth
2022-01-06 12:13:35 +01:00
parent e1fca41a70
commit 7b84d6363c
4 changed files with 14 additions and 10 deletions

View File

@@ -53,6 +53,10 @@ namespace NadekoBot.Migrations
migrationBuilder.Sql(@"UPDATE Permissions
SET SecondaryTargetName='ACTUALEXPRESSIONS'
WHERE SecondaryTargetName='ActualCustomReactions' COLLATE NOCASE;");
migrationBuilder.Sql(@"UPDATE Permissions
SET SecondaryTargetName='EXPRESSIONS'
WHERE SecondaryTargetName='CustomReactions' COLLATE NOCASE;");
}
protected override void Down(MigrationBuilder migrationBuilder)