mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Only migrate when bee file version is smaller
This commit is contained in:
parent
960337887f
commit
caed5c3801
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class SQLiteIO:
|
|||
|
||||
version = self.fetchone('PRAGMA user_version')[0]
|
||||
logger.debug(f'Found bee file version: {version}')
|
||||
if version == USER_VERSION:
|
||||
if version >= USER_VERSION:
|
||||
logger.debug('Version ok; no migrations necessary')
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue