From 3845189b4cf095fc20cad4064e1e92adc27a0c48 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 24 Jan 2016 13:29:18 +0530 Subject: [PATCH] call migrate_8 --- oml/settings.py | 2 +- oml/update.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/oml/settings.py b/oml/settings.py index 033b9be..e84a833 100644 --- a/oml/settings.py +++ b/oml/settings.py @@ -99,4 +99,4 @@ USER_AGENT = 'OpenMediaLibrary/%s' % VERSION DEBUG_HTTP = server.get('debug_http', False) -DB_VERSION = 8 +DB_VERSION = 9 diff --git a/oml/update.py b/oml/update.py index 2aea108..c960420 100644 --- a/oml/update.py +++ b/oml/update.py @@ -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):