Fix Kalender-Page for multiple rooms

This commit is contained in:
mbremer
2021-08-02 16:57:01 +02:00
parent 0d4dcd4df4
commit a3db8c67d0
6 changed files with 26 additions and 7 deletions

View File

@@ -7,4 +7,4 @@ 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;
alter table kalendertag add constraint kalendertag_day_room_unique unique(day,room_id);