mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Pollutants: Fix 'enabled' column update version.
This commit is contained in:
1 parent
e49724072b
commit
7bb810d427
2 files changed
+2
-2
No files matched your search
@@ -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
@@ -46,7 +46,7 @@ logger = logging.getLogger()
|
||||
|
||||
|
||||
class Study(SQLModel):
|
||||
_version = "0.2.5"
|
||||
_version = "0.2.6"
|
||||
|
||||
_sub_classes = [
|
||||
Scenario,
|
||||
|
||||
Reference in new issue
Block a user