DB: Fix DB update and set DB version to '0.1.7'.

This commit is contained in:
parouby committed 2025-08-11 13:57:08 +02:00
1 parent 36fe9a51c4
commit 3f98cf8625
12 files changed
+30 -12

No files matched your search

@@ -83,6 +83,11 @@ class BoundaryConditionAdisTS(SQLSubModel):
@classmethod
def _db_update(cls, execute, version, data=None):
major, minor, release = version.strip().split(".")
if major == "0" and int(minor) <= 1:
if int(release) < 7:
cls._db_create(execute)
return True
@classmethod