call migrate_8

This commit is contained in:
j 2016-01-24 13:29:18 +05:30
parent 5c5c8ac39b
commit 3845189b4c
2 changed files with 3 additions and 1 deletions

View file

@ -99,4 +99,4 @@ USER_AGENT = 'OpenMediaLibrary/%s' % VERSION
DEBUG_HTTP = server.get('debug_http', False)
DB_VERSION = 8
DB_VERSION = 9

View file

@ -305,6 +305,8 @@ class Update(Thread):
db_version = migrate_6()
if db_version < 7:
db_version = migrate_7()
if db_version < 9:
db_version = migrate_8()
settings.server['db_version'] = settings.DB_VERSION
def run(self):