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
224 B
Text
15 lines
224 B
Text
Repo
|
|
|
|
Collab
|
|
|
|
CollabTopicLocal
|
|
collab CollabId
|
|
|
|
UniqueCollabTopicLocal collab
|
|
|
|
CollabTopicLocalRepo
|
|
collab CollabId
|
|
collabNew CollabTopicLocalId
|
|
repo RepoId
|
|
|
|
UniqueCollabTopicLocalRepo collab
|