Skip to content

Commit

Permalink
fixed a few db setup issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Nov 12, 2023
1 parent e8ac4a5 commit 79a183b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-- This file should undo anything in `up.sql`
DROP TABLE IF EXISTS calendar
DROP INDEX IF EXISTS calendar_lut
DROP TABLE IF EXISTS calendar;
DROP INDEX IF EXISTS calendar_lut;
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ CREATE TABLE calendar (
last_scrape TIMESTAMP NOT NULL
);

CREATE INDEX IF NOT EXISTS calendar_lut ON calendar(key, dtstart, dtend)
CREATE INDEX IF NOT EXISTS calendar_lut ON calendar(key, dtstart, dtend);

0 comments on commit 79a183b

Please sign in to comment.