fixes and my notes function

This commit is contained in:
Mateusz Gruszczyński committed 2026-07-22 13:04:21 +02:00
1 parent 8bf45938ea
commit ec9f002b81
13 files changed
+224 -14

No files matched your search

@@ -0,0 +1,10 @@
CREATE TABLE user_workspaces (
user_id BIGINT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
workspace_id BIGINT NOT NULL REFERENCES workspaces(id) ON DELETE CASCADE,
PRIMARY KEY (user_id, workspace_id)
);
CREATE TABLE user_pads (
user_id BIGINT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
pad_id BIGINT NOT NULL REFERENCES pads(id) ON DELETE CASCADE,
PRIMARY KEY (user_id, pad_id)
);