mirror of https://gitlab.com/pamhyr/pamhyr2
AdisTS: Minor change.
parent
db7aad26fd
commit
efa16837d8
|
|
@ -140,7 +140,7 @@ class PollutantCharacteristics(SQLSubModel):
|
|||
major, minor, release = version.strip().split(".")
|
||||
|
||||
if major == "0" and int(minor) < 2:
|
||||
if cls.is_table_exists(execute, "Pollutants_characteristic"):
|
||||
if cls.is_table_exists(execute, "Pollutants_characteristics"):
|
||||
cls._db_update_to_0_2_0(execute, data)
|
||||
else:
|
||||
cls._db_create(execute)
|
||||
|
|
|
|||
Loading…
Reference in New Issue