generated from ctc-uci/npo-backend-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implemented event deletion, updated schemas/databases. Minor bugfixes. * Bugfixes: Added comma * updated catalog schema * fixed schema (for realsies this time) and updated some sql queries because db changed
- Loading branch information
Showing
5 changed files
with
29 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
DROP TABLE IF EXISTS day; | ||
CREATE TABLE IF NOT EXISTS day ( | ||
id serial PRIMARY KEY, | ||
event_date DATE NOT NULL, | ||
event_date DATE UNIQUE NOT NULL, | ||
start_time TIME NOT NULL, | ||
end_time TIME NOT NULL, | ||
location VARCHAR( 256 ) NOT NULL, | ||
notes VARCHAR( 250 ) | ||
notes VARCHAR( 250 ), | ||
day_count INTEGER | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters