Skip to content

Commit

Permalink
[K6.2] Fix typo in utf8mb3_unicode_ci #9582
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed Nov 13, 2023
1 parent 1a6d329 commit 6be141e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' || $column->Collation == 'utf8mb3_unicode_cis') {
if ($column->Collation == 'utf8_general_ci' || $column->Collation == 'utf8mb3_general_ci' || $column->Collation == 'utf8_unicode_ci' || $column->Collation == 'utf8mb3_unicode_ci') {
$query = 'ALTER TABLE ' . $db->quoteName($kunenatable) . ' CHANGE ' . $column->Field . ' ' . $column->Field . ' ' . $column->Type . ' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;';
$db->setQuery($query);

Expand Down

0 comments on commit 6be141e

Please sign in to comment.