mirror of https://gitlab.com/pamhyr/pamhyr2
Pollutants: Fix 'enabled' column update version.
parent
e49724072b
commit
7bb810d427
|
|
@ -375,7 +375,7 @@ class Pollutants(SQLSubModel):
|
|||
created = True
|
||||
|
||||
if major == "0" and minor == "2":
|
||||
if int(release) < 5:
|
||||
if int(release) < 6:
|
||||
execute(f"ALTER TABLE pollutants " +
|
||||
f"ADD COLUMN enabled BOOLEAN NOT NULL DEFAULT TRUE")
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ logger = logging.getLogger()
|
|||
|
||||
|
||||
class Study(SQLModel):
|
||||
_version = "0.2.5"
|
||||
_version = "0.2.6"
|
||||
|
||||
_sub_classes = [
|
||||
Scenario,
|
||||
|
|
|
|||
Loading…
Reference in New Issue