Room per User and KalenderTag
This commit is contained in:
1 parent
6f02239bdc
commit
0d4dcd4df4
12 files changed
+228
-34
No files matched your search
@@ -0,0 +1,10 @@
|
||||
create table room (
|
||||
id bigint not null primary key,
|
||||
name varchar not null unique
|
||||
);
|
||||
|
||||
alter table users add column room_id bigint references room;
|
||||
alter table kalendertag add column room_id bigint references room;
|
||||
|
||||
alter table kalendertag drop constraint kalendertag_day_key;
|
||||
|
||||
Reference in new issue
Block a user