Skip to content

Commit 49b450c

Browse files
committed
fix: don't prevent greater minor version DBs from opening
1 parent a1dfa62 commit 49b450c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tagstudio/core/library/alchemy/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def open_sqlite_library(
596596
session.commit()
597597
logger.info(f"[Library][Migration][{v}] Completed DB Migration")
598598

599-
assert loaded_db_version == DB_VERSION, (
599+
assert loaded_db_version >= DB_VERSION, (
600600
"Ran all migrations, but the DB is still not on the newest version"
601601
)
602602
logger.info(f"[Library] Library migrated to DB version {DB_VERSION}")

0 commit comments

Comments
 (0)