Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
Sick-Beard
Commits
92016574
Commit
92016574
authored
May 31, 2013
by
CREMEL Stéphane
Browse files
Options
Downloads
Patches
Plain Diff
Correction bug de demarage creation BDD
parent
1deacd0b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sickbeard/databases/mainDB.py
+3
-3
3 additions, 3 deletions
sickbeard/databases/mainDB.py
with
3 additions
and
3 deletions
sickbeard/databases/mainDB.py
+
3
−
3
View file @
92016574
...
...
@@ -103,7 +103,7 @@ class InitialSchema (db.SchemaUpgrade):
"
CREATE TABLE history (action NUMERIC, date NUMERIC, showid NUMERIC, season NUMERIC, episode NUMERIC, quality NUMERIC, resource TEXT, provider NUMERIC);
"
,
"
CREATE TABLE episode_links (episode_id INTEGER, link TEXT);
"
,
"
CREATE TABLE imdb_info (tvdb_id INTEGER PRIMARY KEY, imdb_id TEXT, title TEXT, year NUMERIC, akas TEXT, runtimes NUMERIC, genres TEXT, countries TEXT, country_codes TEXT, certificates TEXT, rating TEXT, votes INTEGER, last_update NUMERIC);
"
,
"
CREATE TABLE processed_files (episode_id INTEGER, filename TEXT, md5 TEXT)
"
"
CREATE TABLE processed_files (episode_id INTEGER, filename TEXT, md5 TEXT)
;
"
]
for
query
in
queries
:
self
.
connection
.
action
(
query
)
...
...
@@ -152,10 +152,10 @@ class NumericProviders (AddAirdateIndex):
6
:
'
tvnzb
'
,
7
:
'
ezrss
'
,
8
:
'
thepiratebay
'
,
9
:
'
kat
'
}
,
9
:
'
kat
'
}
def
execute
(
self
):
self
.
connection
.
action
(
"
ALTER TABLE history RENAME TO history_old
"
)
self
.
connection
.
action
(
"
ALTER TABLE history RENAME TO history_old
;
"
)
self
.
connection
.
action
(
"
CREATE TABLE history (action NUMERIC, date NUMERIC, showid NUMERIC, season NUMERIC, episode NUMERIC, quality NUMERIC, resource TEXT, provider TEXT);
"
)
for
x
in
self
.
histMap
.
keys
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment