convert data sets to utf8 too when updating to the next version, refs #1117

Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
This commit is contained in:
Arnold Bechtoldt
2012-08-18 11:04:10 +02:00
parent 68308c4fca
commit 022d21054c

View File

@@ -1943,7 +1943,7 @@ if(isFroxlorVersion('0.9.28-svn3'))
{
foreach ($row as $table)
{
$db->query('ALTER TABLE ' . $table . ' CHARACTER SET utf8 COLLATE utf8_general_ci;');
$db->query('ALTER TABLE ' . $table . ' CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;');
}
}