mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 09:45:03 +08:00
we should probably try to work on a newer database (assuming changes are mostly additive and backwards compatible)
This commit is contained in:
parent
b02f5dac5b
commit
49460dfb8a
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue