mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Fixed IntegrityError caused by primary key not being unique
This commit is contained in:
parent
06913ea517
commit
97db8fd408
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class AddXemNumbering(AddNetworkTimezones):
|
||||||
|
|
||||||
def execute(self):
|
def execute(self):
|
||||||
self.connection.action(
|
self.connection.action(
|
||||||
"CREATE TABLE xem_numbering (indexer TEXT, indexer_id INTEGER, season INTEGER, episode INTEGER, scene_season INTEGER, scene_episode INTEGER, PRIMARY KEY (indexer_id, season, episode))")
|
"CREATE TABLE xem_numbering (indexer TEXT, indexer_id INTEGER, season INTEGER, episode INTEGER, scene_season INTEGER, scene_episode INTEGER, PRIMARY KEY (indexer, indexer_id, season, episode))")
|
||||||
|
|
||||||
|
|
||||||
class AddXemRefresh(AddXemNumbering):
|
class AddXemRefresh(AddXemNumbering):
|
||||||
|
|
Loading…
Reference in a new issue