Pollutants: Fix 'enabled' column update version.

scenarios
Pierre-Antoine 2026-06-25 15:00:41 +02:00
parent e49724072b
commit 7bb810d427
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -46,7 +46,7 @@ logger = logging.getLogger()
class Study(SQLModel):
_version = "0.2.5"
_version = "0.2.6"
_sub_classes = [
Scenario,