Skip to content

Commit

Permalink
Created Schema for Day table (#48)
Browse files Browse the repository at this point in the history
* Schema for Day table

* updated schema to match db model

---------

Co-authored-by: ThatMegamind <[email protected]>
  • Loading branch information
h0ethan04 and ThatMegamind authored Feb 18, 2024
1 parent 8a05522 commit 08d0df7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions server/schema/day.sql
Original file line number Diff line number Diff line change
@@ -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 TIME NOT NULL,
end_time TIME NOT NULL,
location VARCHAR( 256 ) NOT NULL,
notes VARCHAR( 250 )
);

0 comments on commit 08d0df7

Please sign in to comment.