Commit 63576a53 authored by VladanStef's avatar VladanStef

Changed default MySQL table collation to utf8_unicode_ci

Default table collation changed to `utf8_unicode_ci`, as it handles properly a much wider array of characters (Cyrillic, for example) at a generally negligible cost of performance.
parent 9d5c2a4a
...@@ -376,7 +376,7 @@ class MySqlPlatform extends AbstractPlatform ...@@ -376,7 +376,7 @@ class MySqlPlatform extends AbstractPlatform
} }
if ( ! isset($options['collate'])) { if ( ! isset($options['collate'])) {
$options['collate'] = 'utf8_general_ci'; $options['collate'] = 'utf8_unicode_ci';
} }
$query .= 'DEFAULT CHARACTER SET ' . $options['charset']; $query .= 'DEFAULT CHARACTER SET ' . $options['charset'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment