From 2c32345e57e692ce8b07c1223c0da0b636781cfc Mon Sep 17 00:00:00 2001 From: Celestora Date: Sun, 10 Apr 2022 12:16:03 +0300 Subject: [PATCH] Fix several errors in SQLs --- install/sqls/00005-administrators-list.sql | 2 +- install/sqls/00006-group-owner-comment.sql | 2 +- install/sqls/00018-email-verification.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/sqls/00005-administrators-list.sql b/install/sqls/00005-administrators-list.sql index 199b83ba..8bde59e7 100644 --- a/install/sqls/00005-administrators-list.sql +++ b/install/sqls/00005-administrators-list.sql @@ -1 +1 @@ -ALTER TABLE groups ADD COLUMN administrators_list_display TINYINT(3) UNSIGNED NOT NULL DEFAULT 0; +ALTER TABLE `groups` ADD COLUMN administrators_list_display TINYINT(3) UNSIGNED NOT NULL DEFAULT 0; diff --git a/install/sqls/00006-group-owner-comment.sql b/install/sqls/00006-group-owner-comment.sql index 37439405..d77586c9 100644 --- a/install/sqls/00006-group-owner-comment.sql +++ b/install/sqls/00006-group-owner-comment.sql @@ -1 +1 @@ -ALTER TABLE groups ADD COLUMN owner_comment VARCHAR(36) AFTER owner; +ALTER TABLE `groups` ADD COLUMN owner_comment VARCHAR(36) AFTER owner; diff --git a/install/sqls/00018-email-verification.sql b/install/sqls/00018-email-verification.sql index 0c1226b7..3e5ed4e8 100644 --- a/install/sqls/00018-email-verification.sql +++ b/install/sqls/00018-email-verification.sql @@ -6,4 +6,4 @@ CREATE TABLE IF NOT EXISTS `email_verifications` ( `key` char(64) COLLATE utf8mb4_general_nopad_ci NOT NULL, `timestamp` bigint(20) unsigned NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_nopad_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;