From 6104acb1315073369054574ea1002603a644baf1 Mon Sep 17 00:00:00 2001 From: Ozh Date: Tue, 23 Feb 2021 11:00:05 +0100 Subject: [PATCH] Update collation on install --- includes/functions-install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions-install.php b/includes/functions-install.php index 3323e6bb9..c9dab2caf 100644 --- a/includes/functions-install.php +++ b/includes/functions-install.php @@ -220,7 +220,7 @@ function yourls_create_sql_tables() { 'PRIMARY KEY (`keyword`),'. 'KEY `ip` (`ip`),'. 'KEY `timestamp` (`timestamp`)'. - ') DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;'; + ') DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;'; $create_tables[YOURLS_DB_TABLE_OPTIONS] = 'CREATE TABLE IF NOT EXISTS `'.YOURLS_DB_TABLE_OPTIONS.'` ('.