HS, Stricklers: Minor change.

scenarios
Pierre-Antoine Rouby 2024-09-02 11:46:51 +02:00
parent 3035ea8d8b
commit b634acec67
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"