mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS, Stricklers: Minor change.
This commit is contained in:
1 parent
3035ea8d8b
commit
b634acec67
2 files changed
+2
-2
No files matched your search
@@ -81,7 +81,7 @@ class BasicHS(SQLSubModel):
|
||||
cls._db_update_to_0_1_0(execute, data)
|
||||
|
||||
if major == "0" and minor == "1":
|
||||
if release < 2:
|
||||
if int(release) < 2:
|
||||
execute(
|
||||
"ALTER TABLE hydraulic_structures_basic " +
|
||||
"ADD COLUMN deleted BOOLEAN NOT NULL DEFAULT FALSE"
|
||||
|
||||
@@ -67,7 +67,7 @@ class Stricklers(SQLSubModel):
|
||||
cls._db_update_to_0_1_0(execute, data)
|
||||
|
||||
if major == "0" and minor == "1":
|
||||
if release < 2:
|
||||
if int(release) < 2:
|
||||
execute(
|
||||
"ALTER TABLE stricklers " +
|
||||
"ADD COLUMN deleted BOOLEAN NOT NULL DEFAULT FALSE"
|
||||
|
||||
Reference in new issue
Block a user