From b52aa5bb73adeabaf99b3abf74ccf473373017e2 Mon Sep 17 00:00:00 2001 From: Ethan Ho Date: Sat, 10 Feb 2024 02:46:15 -0800 Subject: [PATCH] Schema for Day table --- server/schema/day.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 server/schema/day.sql diff --git a/server/schema/day.sql b/server/schema/day.sql new file mode 100644 index 0000000..ec696c3 --- /dev/null +++ b/server/schema/day.sql @@ -0,0 +1,9 @@ +DROP TABLE IF EXISTS day; +CREATE TABLE IF NOT EXISTS day ( + id serial PRIMARY KEY, + event_date DATE NOT NULL, + start_time TIMESTAMP NOT NULL, + end_time TIMESTAMP NOT NULL, + location VARCHAR( 256 ) NOT NULL, + notes VARCHAR( 250 ) +); \ No newline at end of file