From: Hypolite Petovan Date: Sun, 29 Dec 2019 07:23:37 +0000 (-0500) Subject: Fix capitalization of table definition key in DBStructure X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=51ee24f65220f4d5e3b0717767fa399e1a5a58e5;p=friendica.git Fix capitalization of table definition key in DBStructure - Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569481865 --- 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);