mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Issue 11975: Don't call the postupdate if the table is missing
This commit is contained in:
parent
47dd19ab95
commit
4552d36373
1 changed files with 5 additions and 0 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue