From: Michael Date: Sat, 8 Oct 2022 14:42:11 +0000 (+0000) Subject: Issue 11975: Don't call the postupdate if the table is missing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4552d363731b2607506283e0af339a59fcf1a645;p=friendica.git Issue 11975: Don't call the postupdate if the table is missing --- diff --git a/src/Database/PostUpdate.php b/src/Database/PostUpdate.php index 62b023fb6f..c0eac95c81 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]);