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:
committed by
Erik Amaru Ortiz
parent
83a3f51a3d
commit
30a498d607
@@ -80,7 +80,7 @@ class database extends database_base
|
||||
if (isset( $aParameters['Null'] ) && $aParameters['Null'] == 'YES') {
|
||||
$sSQL .= ' NULL';
|
||||
} else {
|
||||
$sSQL .= ' NOT NULL';
|
||||
$sSQL .= ' NOT NULL';
|
||||
}
|
||||
if (isset( $aParameters['Key'] ) && $aParameters['Key'] == 'PRI') {
|
||||
$sKeys .= $this->sQuoteCharacter . $sColumnName . $this->sQuoteCharacter . ',';
|
||||
|
||||
Reference in New Issue
Block a user