Skip to content

Commit d5b5fd8

Browse files
committed
fix(intall): do not process non-existing tables
some tables may be created after attempt to migrate to dynamic row
1 parent eb0338a commit d5b5fd8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/upgrade_to_2.13.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ public function migrateTablesToDynamic() {
359359
];
360360

361361
foreach ($tables as $table) {
362+
if (!$DB->tableExists($table)) {
363+
continue;
364+
}
362365
$DB->query("ALTER TABLE `$table` ROW_FORMAT = DYNAMIC");
363366
}
364367
}

0 commit comments

Comments
 (0)