mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
DB: Fix DB update and set DB version to '0.1.7'.
This commit is contained in:
1 parent
36fe9a51c4
commit
3f98cf8625
12 files changed
+30
-12
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user