From af4be2aa8c4c125238e674c89634038f42d2df79 Mon Sep 17 00:00:00 2001 From: Toastie Date: Tue, 8 Oct 2024 00:26:09 +1300 Subject: [PATCH] fix cleanup migration --- src/EllieBot/Migrations/MigrationQueries.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EllieBot/Migrations/MigrationQueries.cs b/src/EllieBot/Migrations/MigrationQueries.cs index 6d7d46d..9e8c605 100644 --- a/src/EllieBot/Migrations/MigrationQueries.cs +++ b/src/EllieBot/Migrations/MigrationQueries.cs @@ -38,7 +38,7 @@ left join guildconfigs on reactionrolemessage.guildconfigid = guildconfigs.id;") DELETE FROM "DelMsgOnCmdChannel" WHERE "GuildConfigId" is NULL; DELETE FROM "WarningPunishment" WHERE "GuildConfigId" NOT IN (SELECT "Id" from "GuildConfigs"); DELETE FROM "StreamRoleBlacklistedUser" WHERE "StreamRoleSettingsId" is NULL; - DELETE FROM "PermissionsV2" WHERE "GuildConfigId" NOT IN (SELECT "Id" from "GuildConfigs"); + DELETE FROM "Permissions" WHERE "GuildConfigId" NOT IN (SELECT "Id" from "GuildConfigs"); """); }