mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
"id" is now post-user-id
This commit is contained in:
parent
6e1483545e
commit
36357e790e
9 changed files with 76 additions and 63 deletions
|
@ -179,6 +179,11 @@ class PostUpdate
|
|||
return true;
|
||||
}
|
||||
|
||||
if (!DBStructure::existsTable('item')) {
|
||||
DI::config()->set('system', 'post_update_version', 1329);
|
||||
return true;
|
||||
}
|
||||
|
||||
$id = DI::config()->get('system', 'post_update_version_1329_id', 0);
|
||||
|
||||
Logger::info('Start', ['item' => $id]);
|
||||
|
@ -514,7 +519,7 @@ class PostUpdate
|
|||
return true;
|
||||
}
|
||||
|
||||
if (!DBStructure::existsTable('item-activity')) {
|
||||
if (!DBStructure::existsTable('item-activity') || !DBStructure::existsTable('item')) {
|
||||
DI::config()->set('system', 'post_update_version', 1347);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue