TYPE -> ENGINE

This commit is contained in:
Shish 2012-03-14 18:11:46 +00:00
parent 9373b26625
commit 7a6741d202

View File

@ -44,7 +44,7 @@ class Upgrade extends Extension {
$tables = $database->get_col("SHOW TABLES");
foreach($tables as $table) {
log_info("upgrade", "converting $table to innodb");
$database->execute("ALTER TABLE $table TYPE=INNODB");
$database->execute("ALTER TABLE $table ENGINE=INNODB");
}
}