Merge branch 'master' of github.com:shish/shimmie2

This commit is contained in:
Shish
2012-03-14 19:17:56 +00:00
3 changed files with 7 additions and 3 deletions

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