add missing migrator line

This commit is contained in:
Victor Shyba 2019-05-07 01:32:23 -03:00
parent dd665a758d
commit c6a3c05a0c

View file

@ -22,6 +22,8 @@ def migrate_db(conf, start, end):
from .migrate7to8 import do_migration from .migrate7to8 import do_migration
elif current == 8: elif current == 8:
from .migrate8to9 import do_migration from .migrate8to9 import do_migration
elif current == 9:
from .migrate9to10 import do_migration
else: else:
raise Exception("DB migration of version {} to {} is not available".format(current, raise Exception("DB migration of version {} to {} is not available".format(current,
current+1)) current+1))