call migrate_8
This commit is contained in:
parent
5c5c8ac39b
commit
3845189b4c
2 changed files with 3 additions and 1 deletions
|
@ -99,4 +99,4 @@ USER_AGENT = 'OpenMediaLibrary/%s' % VERSION
|
||||||
|
|
||||||
DEBUG_HTTP = server.get('debug_http', False)
|
DEBUG_HTTP = server.get('debug_http', False)
|
||||||
|
|
||||||
DB_VERSION = 8
|
DB_VERSION = 9
|
||||||
|
|
|
@ -305,6 +305,8 @@ class Update(Thread):
|
||||||
db_version = migrate_6()
|
db_version = migrate_6()
|
||||||
if db_version < 7:
|
if db_version < 7:
|
||||||
db_version = migrate_7()
|
db_version = migrate_7()
|
||||||
|
if db_version < 9:
|
||||||
|
db_version = migrate_8()
|
||||||
settings.server['db_version'] = settings.DB_VERSION
|
settings.server['db_version'] = settings.DB_VERSION
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
Loading…
Reference in a new issue