mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Removes primary keys and unique keys from xem_numbering table in cache.db
This commit is contained in:
parent
77696cad66
commit
e7cf923cc0
@ -108,3 +108,8 @@ class ConvertIndexerToInteger(ConvertSceneNamesToIndexerID):
|
||||
ql.append(["UPDATE xem_refresh SET indexer = ? WHERE LOWER(indexer) = ?", ["1", "tvdb"]])
|
||||
ql.append(["UPDATE xem_refresh SET indexer = ? WHERE LOWER(indexer) = ?", ["2", "tvrage"]])
|
||||
self.connection.mass_action(ql)
|
||||
|
||||
class RemoveKeysFromXemNumbering(ConvertIndexerToInteger):
|
||||
def execute(self):
|
||||
self.connection.action("ALTER TABLE xem_numbering DROP UNIQUE (indexer, indexer_id, season, episode)")
|
||||
self.connection.action("ALTER TABLE xem_numbering DROP PRIMARY KEY")
|
Loading…
Reference in New Issue
Block a user