IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Verified Commit d86bfa62 authored by Emi Simpson's avatar Emi Simpson
Browse files

Update init_database code to not fail (important to do)

parent 5118d94a
Pipeline #1121 failed with stage
in 4 seconds
......@@ -27,7 +27,7 @@ def setup_database(c: Cursor) -> None:
ON DELETE CASCADE
ON UPDATE RESTRICT
);
CREATE INDEX IF NOT EXISTS sessions_by_creation ON sessions(created) USING BTREE;
CREATE INDEX IF NOT EXISTS sessions_by_expiration ON sessions(expires) USING BTREE;
CREATE TABLE IF NOT EXISTS projects (
project_id INTEGER PRIMARY KEY AUTO_INCREMENT,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment