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:
jennylee
2014-04-15 11:11:35 -04:00
parent 915217a20e
commit 9b093fd081

View File

@@ -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;
}