Commit f7d6b1e1 authored by VladanStef's avatar VladanStef Committed by Benjamin Eberlei

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 239630b6
......@@ -380,7 +380,7 @@ class MySqlPlatform extends AbstractPlatform
}
if ( ! isset($options['collate'])) {
$options['collate'] = 'utf8_general_ci';
$options['collate'] = 'utf8_unicode_ci';
}
$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