DB: Fix DB update and set DB version to '0.1.7'.

This commit is contained in:
parouby committed 2025-08-11 13:57:08 +02:00
1 parent 36fe9a51c4
commit 3f98cf8625
12 files changed
+30 -12

No files matched your search

+2 -2
View File
@@ -134,8 +134,8 @@ class REPLine(SQLSubModel):
else:
cls._db_update_to_0_0_14(execute, data)
if major == "0" and minor == "1":
if release < 2:
if major == "0" and int(minor) <= 1:
if int(release) < 2:
execute(
"ALTER TABLE rep_lines " +
"ADD COLUMN deleted BOOLEAN NOT NULL DEFAULT FALSE"