Room per User and KalenderTag

This commit is contained in:
mbremer committed 2021-08-01 11:49:32 +02:00
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;