fix tests and change invitation mechanics
Sonarqube Scanner / Prepare environment (push) Successful in 8s
Sonarqube Scanner / Build and test (push) Successful in 24s
Sonarqube Scanner / SonarQube analysis (push) Failing after 1m2s
Sonarqube Scanner / Deploy to Server (push) Successful in 6s

This commit is contained in:
Florian Zumpe
2026-10-19 17:21:50 +02:00
parent a66a795407
commit cacc63be66
13 changed files with 349 additions and 146 deletions
+5
View File
@@ -90,3 +90,8 @@ CREATE TABLE IF NOT EXISTS collaboration_members (
role TEXT NOT NULL CHECK (role IN ('owner', 'member')),
PRIMARY KEY (group_id, session_hash)
) STRICT;
CREATE TABLE IF NOT EXISTS collaboration_invitations (
group_id TEXT PRIMARY KEY NOT NULL REFERENCES collaboration_groups(id) ON DELETE CASCADE,
code TEXT NOT NULL
) STRICT;