Private GIT

Skip to content
Snippets Groups Projects
Commit f9246bcf authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Merge branch 'hotfix-failed-db'

parents d185980c 6be1f9a3
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ class InitialSchema(db.SchemaUpgrade):
def execute(self):
queries = [
('CREATE TABLE failed (release TEXT, size NUMERIC, provider TEXT);',),
('CREATE TABLE history (date NUMERIC, size NUMERIC, release TEXT, provider TEXT, old_status NUMERIC DEFAULT (?), showid NUMERIC DEFAULT -1, season NUMERIC DEFAULT -1, episode NUMERIC DEFAULT -1);', Quality.NONE),
('CREATE TABLE history (date NUMERIC, size NUMERIC, release TEXT, provider TEXT, old_status NUMERIC DEFAULT 0, showid NUMERIC DEFAULT -1, season NUMERIC DEFAULT -1, episode NUMERIC DEFAULT -1);',),
('CREATE TABLE db_version (db_version INTEGER);',),
('INSERT INTO db_version (db_version) VALUES (1);',),
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment