From 50b3ba15bc7e8200dc06ae4f849a7f6df28e94f7 Mon Sep 17 00:00:00 2001 From: Ethan Ho Date: Tue, 13 Feb 2024 13:02:10 -0800 Subject: [PATCH] updated schema to match db model --- server/schema/day.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/schema/day.sql b/server/schema/day.sql index ec696c3..1ac0b41 100644 --- a/server/schema/day.sql +++ b/server/schema/day.sql @@ -2,8 +2,8 @@ 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, + start_time TIME NOT NULL, + end_time TIME NOT NULL, location VARCHAR( 256 ) NOT NULL, notes VARCHAR( 250 ) ); \ No newline at end of file