diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 218cab9507..3b3f55ba5d 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -52,7 +52,7 @@ class DBStructure } foreach ($tables AS $table) { - $sql = "ALTER TABLE " . DBA::quoteIdentifier($table['TABLE_NAME']) . " engine=InnoDB;"; + $sql = "ALTER TABLE " . DBA::quoteIdentifier($table['table_name']) . " engine=InnoDB;"; echo $sql . "\n"; $result = DBA::e($sql);