TYPE -> ENGINE
This commit is contained in:
parent
9373b26625
commit
7a6741d202
@ -44,7 +44,7 @@ class Upgrade extends Extension {
|
|||||||
$tables = $database->get_col("SHOW TABLES");
|
$tables = $database->get_col("SHOW TABLES");
|
||||||
foreach($tables as $table) {
|
foreach($tables as $table) {
|
||||||
log_info("upgrade", "converting $table to innodb");
|
log_info("upgrade", "converting $table to innodb");
|
||||||
$database->execute("ALTER TABLE $table TYPE=INNODB");
|
$database->execute("ALTER TABLE $table ENGINE=INNODB");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user