Added some more sql commands to the list

This commit is contained in:
Michael 2020-05-16 10:21:16 +00:00
parent 8e12edc375
commit 28e7564d79

View File

@ -1079,7 +1079,7 @@ class DBStructure
while ($process = DBA::fetch($processes)) { while ($process = DBA::fetch($processes)) {
$parts = explode(' ', $process['info']); $parts = explode(' ', $process['info']);
if (strtolower(array_shift($parts)) == 'alter') { if (in_array(strtolower(array_shift($parts)), ['alter', 'create', 'drop', 'rename'])) {
$isUpdate = true; $isUpdate = true;
} }
} }