Skip to content

Commit

Permalink
AT - created the published schedule table
Browse files Browse the repository at this point in the history
  • Loading branch information
arralia committed Nov 19, 2023
1 parent db6533e commit 8b92d59
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions server/schema/published_schedule.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
DROP TABLE [IF EXISTS] published_schedule;

CREATE TYPE year AS ENUM ('Junior','Senior');

CREATE TABLE [IF NOT EXISTS] published_schedule (
id varchar(10) NOT NULL,
event_id varchar(10) NOT NULL,
confirmed boolean NOT NULL,
confirmed_on DATETIME NOT NULL,
start_time DATETIME NOT NULL,
end_time DATETIME NOT NULL,
cohort ENUM NOT NULL,
notes varchar(100),
FOREIGN KEY (event_id)
REFERENCES catalog (id)
);

0 comments on commit 8b92d59

Please sign in to comment.