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-14 16:25:15 -04:00
parent 62728e71bb
commit a3f24b0302
2 changed files with 23 additions and 23 deletions

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