we should probably try to work on a newer database (assuming changes are mostly additive and backwards compatible)

This commit is contained in:
azivner 2017-10-09 16:55:58 -04:00
parent b02f5dac5b
commit 49460dfb8a

View file

@ -52,7 +52,7 @@ def login_form():
def show_app():
db_version = int(getOption('db_version'))
if db_version != APP_DB_VERSION:
if db_version < APP_DB_VERSION:
return redirect('migration')
return render_template('app.html')