From c6a4eaf04e40e9ede6af0028aeeaa175becc841e Mon Sep 17 00:00:00 2001 From: Toastie Date: Tue, 8 Oct 2024 00:05:01 +1300 Subject: [PATCH] Alias collision fixed, .qse will be quotesearch, .qs will remain queuesearch (music) Improved guild config cleanup migration by removing invalid Permissiosnv2 entries --- src/EllieBot/Migrations/MigrationQueries.cs | 1 + src/EllieBot/data/aliases.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EllieBot/Migrations/MigrationQueries.cs b/src/EllieBot/Migrations/MigrationQueries.cs index 93f4249..6d7d46d 100644 --- a/src/EllieBot/Migrations/MigrationQueries.cs +++ b/src/EllieBot/Migrations/MigrationQueries.cs @@ -38,6 +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"); """); } diff --git a/src/EllieBot/data/aliases.yml b/src/EllieBot/data/aliases.yml index 66b7401..9ab8151 100644 --- a/src/EllieBot/data/aliases.yml +++ b/src/EllieBot/data/aliases.yml @@ -365,7 +365,6 @@ quoteshow: - qushow quotesearch: - quotesearch - - qs - qse - qsearch quoteid: