From 28e7564d79de34d0c00e5da46549e288de2bc280 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 16 May 2020 10:21:16 +0000 Subject: [PATCH] Added some more sql commands to the list --- 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 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; } } -- 2.39.5