From 4552d363731b2607506283e0af339a59fcf1a645 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 8 Oct 2022 14:42:11 +0000 Subject: [PATCH] Issue 11975: Don't call the postupdate if the table is missing --- src/Database/PostUpdate.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Database/PostUpdate.php b/src/Database/PostUpdate.php index 62b023fb6..c0eac95c8 100644 --- a/src/Database/PostUpdate.php +++ b/src/Database/PostUpdate.php @@ -1040,6 +1040,11 @@ class PostUpdate return true; } + if (!DBStructure::existsTable('conversation')) { + DI::config()->set('system', 'post_update_version', 1452); + return true; + } + $id = DI::config()->get('system', 'post_update_version_1452_id', 0); Logger::info('Start', ['uri-id' => $id]);