From 51ee24f65220f4d5e3b0717767fa399e1a5a58e5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 29 Dec 2019 02:23:37 -0500 Subject: [PATCH] Fix capitalization of table definition key in DBStructure - Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569481865 --- src/Database/DBStructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);