mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
database migrate to multiple primary keys.
This commit is contained in:
parent
07719e79b6
commit
c7b320b3b8
2 changed files with 13 additions and 6 deletions
|
@ -255,7 +255,7 @@ class SchemaUpgrade(object):
|
|||
def checkDBVersion(self):
|
||||
result = self.connection.select("SELECT db_version FROM db_version")
|
||||
if result:
|
||||
return int(result[0]["db_version"])
|
||||
return int(result[-1]["db_version"])
|
||||
else:
|
||||
return 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue