Room per User and KalenderTag

This commit is contained in:
mbremer
2021-08-01 11:49:32 +02:00
parent 6f02239bdc
commit 0d4dcd4df4
12 changed files with 228 additions and 34 deletions

View File

@@ -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;