From 1a6d3290d5dbe25391a4b73055161c31cb616045 Mon Sep 17 00:00:00 2001 From: Florian DAL FITTO Date: Mon, 13 Nov 2023 18:06:49 +0100 Subject: [PATCH] [K6.2] Convert the database also when collation is utf8mb3_unicode_ci #9582 --- src/script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.php b/src/script.php index 4467ab6e101..bbd854bb0bd 100644 --- a/src/script.php +++ b/src/script.php @@ -554,7 +554,7 @@ public function postflight($type, $parent) // Check column and set to ut8_mb4 when needed foreach ($tableColumns as $column) { - if ($column->Collation == 'utf8_general_ci' || $column->Collation == 'utf8mb3_general_ci' || $column->Collation == 'utf8_unicode_ci') { + if ($column->Collation == 'utf8_general_ci' || $column->Collation == 'utf8mb3_general_ci' || $column->Collation == 'utf8_unicode_ci' || $column->Collation == 'utf8mb3_unicode_cis') { $query = 'ALTER TABLE ' . $db->quoteName($kunenatable) . ' CHANGE ' . $column->Field . ' ' . $column->Field . ' ' . $column->Type . ' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'; $db->setQuery($query);