mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Bugfix in preparazione della release
Risoluzione di alcuni bug presenti in preparazione della release.
This commit is contained in:
@@ -290,6 +290,12 @@ class Update
|
||||
|
||||
$database->query('SET foreign_key_checks = 1');
|
||||
}
|
||||
|
||||
// Normalizzazione dell'engine MySQL
|
||||
$engines = $database->fetchArray('SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '.prepare($database_name)." AND ENGINE != 'InnoDB'");
|
||||
foreach ($engines as $engine) {
|
||||
$database->query('ALTER TABLE `'.$engine['TABLE_NAME'].'` ENGINE=InnoDB');
|
||||
}
|
||||
}
|
||||
|
||||
protected static function executeScript($script)
|
||||
|
Reference in New Issue
Block a user