We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0debe79 + 01dfc08 commit 4fe2025Copy full SHA for 4fe2025
server/db/schema/bookings.sql
@@ -0,0 +1,10 @@
1
+CREATE TABLE bookings (
2
+ id INT PRIMARY KEY UNIQUE NOT NULL DEFAULT nextval('booking_id_seq'),
3
+ event_id INT REFERENCES events(id),
4
+ room_id INT REFERENCES rooms(id),
5
+ start_time TIME WITH TIME ZONE NOT NULL,
6
+ end_time TIME WITH TIME ZONE NOT NULL,
7
+ date DATE NOT NULL,
8
+ archived BOOL NOT NULL DEFAULT false
9
+
10
+);
0 commit comments