From: Michael Date: Sat, 16 May 2020 10:21:16 +0000 (+0000) Subject: Added some more sql commands to the list X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28e7564d79de34d0c00e5da46549e288de2bc280;p=friendica.git Added some more sql commands to the list --- diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index dcb59fc9f2..9a43c06240 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -1079,7 +1079,7 @@ class DBStructure while ($process = DBA::fetch($processes)) { $parts = explode(' ', $process['info']); - if (strtolower(array_shift($parts)) == 'alter') { + if (in_array(strtolower(array_shift($parts)), ['alter', 'create', 'drop', 'rename'])) { $isUpdate = true; } }