Fix capitalization of table definition key in DBStructure

- Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569481865
This commit is contained in:
Hypolite Petovan 2019-12-29 02:23:37 -05:00
parent 25847c4c71
commit 51ee24f652

View file

@ -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);