mirror of
https://github.com/friendica/friendica
synced 2025-05-05 21:44:11 +02:00
Added foreign key
This commit is contained in:
parent
d3abf5eff9
commit
93cd85595c
4 changed files with 6 additions and 2 deletions
|
@ -55,6 +55,7 @@ class MergeContact
|
|||
DBA::delete('post-tag', ['cid' => $old_cid]);
|
||||
DBA::update('item', ['author-id' => $new_cid], ['author-id' => $old_cid]);
|
||||
DBA::update('item', ['owner-id' => $new_cid], ['owner-id' => $old_cid]);
|
||||
DBA::update('item', ['causer-id' => $new_cid], ['causer-id' => $old_cid]);
|
||||
DBA::update('thread', ['author-id' => $new_cid], ['author-id' => $old_cid]);
|
||||
DBA::update('thread', ['owner-id' => $new_cid], ['owner-id' => $old_cid]);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue