Database: upgrade version for temperature data

This commit is contained in:
Dylan Jeannin committed 2026-08-11 11:47:34 +02:00
1 parent 252ac257fe
commit c0000bb332
5 files changed
+7 -7

No files matched your search

@@ -77,7 +77,7 @@ class Data(SQLSubModel):
created = True
if major == "0" and (int(minor) < 2 or
(int(minor) == 2 and int(release) < 7)):
(int(minor) == 2 and int(release) <= 7)):
if not cls.is_table_exists(execute,
"boundary_condition_data_temperature"):
cls._db_create(execute)
@@ -205,7 +205,7 @@ class BoundaryConditionTemperature(SQLSubModel):
created = False
if major == "0" and (int(minor) < 2 or (
int(minor) == 2 and int(release) < 7)):
int(minor) == 2 and int(release) <= 7)):
if not cls.is_table_exists(execute,
"boundary_condition_temperature"):
cls._db_create(execute)