BUG-14676 New tables created are not created in utf8 format
Adding properties to the CREATE TABLE query to set ENGINE InnoDB, CHARSET=utf8 y COLLATE=utf8_general_ci to make all tables has this structure.
This commit is contained in:
@@ -98,7 +98,7 @@ class database extends database_base
|
||||
if ($sKeys != '') {
|
||||
$sSQL .= ',PRIMARY KEY(' . substr( $sKeys, 0, - 1 ) . ')';
|
||||
}
|
||||
$sSQL .= ')' . $this->sEndLine;
|
||||
$sSQL .= ')ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci' . $this->sEndLine;
|
||||
|
||||
return $sSQL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user