mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 15:54:51 +09:00
b0576f9bf6
Previously there was just CollabTopicAccept, which worked only for local topics but pretended to apply to both, due to directly pointing to Collab, thus possible to insert rows even if there's a CollabTopicRemote. The new situation is a new CollabTopicLocal table to which the local topic things point, thus keeping the local and remote data separate and difficult to confuse.
15 lines
240 B
Text
15 lines
240 B
Text
OutboxItem
|
|
|
|
Collab
|
|
|
|
CollabTopicLocal
|
|
collab CollabId
|
|
|
|
UniqueCollabTopicLocal collab
|
|
|
|
CollabTopicLocalAccept
|
|
collab CollabId
|
|
collabNew CollabTopicLocalId
|
|
accept OutboxItemId
|
|
|
|
UniqueCollabTopicLocalAcceptAccept accept
|