Pollutants: Fix 'enabled' column update version.

This commit is contained in:
parouby committed 2026-06-25 15:00:41 +02:00
1 parent e49724072b
commit 7bb810d427
2 files changed
+2 -2

No files matched your search

+1 -1
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")
+1 -1
View File
@@ -46,7 +46,7 @@ logger = logging.getLogger()
class Study(SQLModel):
_version = "0.2.5"
_version = "0.2.6"
_sub_classes = [
Scenario,