You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
When you try to set an explicit collation on a certain field like
'sql' = "varchar(10) COLLATE utf8_general_ci NOT NULL default ''"
It does not work if the collation equals the DB collation settings and it will keep proposing that change in the DB update back end view.
This is due to
if ($field['collation'] != '' && $field['collation'] != \Config::get('dbCollation'))
Obviously I don't need to specify utf8_general_ci if the DB collation is the same but if I want to make sure it is in that collation, then I have to specify it and it should only propose to change it when my DB is NOT utf8_general_ci.
The text was updated successfully, but these errors were encountered:
When you try to set an explicit collation on a certain field like
It does not work if the collation equals the DB collation settings and it will keep proposing that change in the DB update back end view.
This is due to
core/system/modules/core/library/Contao/Database/Installer.php
Line 460 in d11b225
Obviously I don't need to specify
utf8_general_ci
if the DB collation is the same but if I want to make sure it is in that collation, then I have to specify it and it should only propose to change it when my DB is NOTutf8_general_ci
.The text was updated successfully, but these errors were encountered: