DB: Update: Minor fixes.

scenarios
Pierre-Antoine Rouby 2024-07-31 15:36:34 +02:00
parent 4081f96d68
commit 32cda58064
3 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@ class Data(SQLSubModel):
execute(
f"UPDATE {table} " +
f"SET bc = {bcs[bc_id]}, " +
f"SET bc = {bcs[bc_id]} " +
f"WHERE pamhyr_id = {pid}"
)

View File

@ -97,7 +97,7 @@ class Data(SQLSubModel):
execute(
f"UPDATE {table} " +
f"SET reservoir = {reservoirs[reservoir_id]}, " +
f"SET reservoir = {reservoirs[reservoir_id]} " +
f"WHERE pamhyr_id = {pid}"
)

View File

@ -218,7 +218,7 @@ class SQLSubModel(PamhyrID):
execute(
f"UPDATE {table} " +
f"SET node = {nodes[node_id]}, " +
f"SET node = {nodes[node_id]} " +
f"WHERE pamhyr_id = {pid}"
)
@ -235,7 +235,7 @@ class SQLSubModel(PamhyrID):
execute(
f"UPDATE {table} " +
f"SET reach = {reachs[reach_id]}, " +
f"SET reach = {reachs[reach_id]} " +
f"WHERE pamhyr_id = {pid}"
)