mirror of https://gitlab.com/pamhyr/pamhyr2
HS, Stricklers: Minor change.
parent
3035ea8d8b
commit
b634acec67
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue