type->engine for mysql 5.5

This commit is contained in:
Shish 2011-07-14 10:12:39 +01:00
parent 7118e5fe40
commit 9d9a960d1b

View File

@ -80,7 +80,7 @@ class MySQL extends DBEngine {
public function create_table_sql($name, $data) {
$data = $this->scoreql_to_sql($data);
$ctes = "TYPE=InnoDB DEFAULT CHARSET='utf8'";
$ctes = "ENGINE=InnoDB DEFAULT CHARSET='utf8'";
return "CREATE TABLE $name ($data) $ctes";
}
}