Undo making project optional on stored follower states
Following works without a project, but following in unshared projects does not need to be replicated to other participants.
This commit is contained in:
parent
ce940da8e9
commit
e9c1ad6acd
9 changed files with 47 additions and 93 deletions
|
@ -176,7 +176,7 @@ CREATE TABLE "servers" (
|
|||
CREATE TABLE "followers" (
|
||||
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
"room_id" INTEGER NOT NULL REFERENCES rooms (id) ON DELETE CASCADE,
|
||||
"project_id" INTEGER REFERENCES projects (id) ON DELETE CASCADE,
|
||||
"project_id" INTEGER NOT NULL REFERENCES projects (id) ON DELETE CASCADE,
|
||||
"leader_connection_server_id" INTEGER NOT NULL REFERENCES servers (id) ON DELETE CASCADE,
|
||||
"leader_connection_id" INTEGER NOT NULL,
|
||||
"follower_connection_server_id" INTEGER NOT NULL REFERENCES servers (id) ON DELETE CASCADE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue