From a950a2d7063462aee268a2b55350f596a62e07a6 Mon Sep 17 00:00:00 2001 From: celestora Date: Sat, 8 Oct 2022 23:25:09 +0300 Subject: [PATCH] y7tughtuy --- install/sqls/00032-banned-urls.sql | 8 ++++---- install/sqls/00033-shortcode-aliases.sql | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/install/sqls/00032-banned-urls.sql b/install/sqls/00032-banned-urls.sql index 0df7b275..b9b0077b 100644 --- a/install/sqls/00032-banned-urls.sql +++ b/install/sqls/00032-banned-urls.sql @@ -1,10 +1,10 @@ CREATE TABLE `links_banned` ( `id` bigint UNSIGNED NOT NULL, - `domain` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci NOT NULL, - `regexp_rule` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci NOT NULL, - `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_nopad_ci, + `domain` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL, + `regexp_rule` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL, + `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci, `initiator` bigint UNSIGNED NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; ALTER TABLE `links_banned` ADD PRIMARY KEY (`id`); diff --git a/install/sqls/00033-shortcode-aliases.sql b/install/sqls/00033-shortcode-aliases.sql index d47975c0..d825f205 100644 --- a/install/sqls/00033-shortcode-aliases.sql +++ b/install/sqls/00033-shortcode-aliases.sql @@ -2,7 +2,7 @@ CREATE TABLE `aliases` ( `id` bigint UNSIGNED NOT NULL, `owner_id` bigint NOT NULL, `shortcode` varchar(36) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; ALTER TABLE `aliases` ADD PRIMARY KEY (`id`);