mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +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):
|
||||
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):
|
||||
|
|
Loading…
Reference in a new issue