Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Add room time presence constraint (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
feymartynov committed Mar 31, 2020
1 parent faf0447 commit 4faaa13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE room DROP CONSTRAINT room_time_presence;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE room ADD CONSTRAINT room_time_presence CHECK (time <> 'empty');

0 comments on commit 4faaa13

Please sign in to comment.