From be5baa92454b426b2bc2600627853862a229885a Mon Sep 17 00:00:00 2001 From: Marco Crespi Date: Fri, 20 Dec 2019 10:36:42 +0100 Subject: [PATCH] fix(reactionRoles): Fix emoji mix-up --- scripts/db/setup_dbx.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/db/setup_dbx.sql b/scripts/db/setup_dbx.sql index 54e8e08d..f951c3b1 100644 --- a/scripts/db/setup_dbx.sql +++ b/scripts/db/setup_dbx.sql @@ -368,7 +368,7 @@ CREATE TABLE `reactionRoles` ( `guildId` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, `messageId` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, `roleId` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, - `emoji` varchar(255) DEFAULT NULL, + `emoji` varchar(255) COLLATE utf8mb4_bin NOT NULL, `createdAt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updatedAt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -595,7 +595,7 @@ ALTER TABLE `punishmentConfigs` -- AUTO_INCREMENT for table `punishments` -- ALTER TABLE `punishments` - MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,; + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `scheduledActions` --