DB: Continue to prepare update 0.1.0.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-08-05 12:00:10 +02:00
1 parent 32cda58064
commit 1dfdcb0413
5 files changed
+43

No files matched your search

+6
View File
@@ -216,6 +216,9 @@ class SQLSubModel(PamhyrID):
pid = next(it)
node_id = next(it)
if node_id == -1:
return
execute(
f"UPDATE {table} " +
f"SET node = {nodes[node_id]} " +
@@ -233,6 +236,9 @@ class SQLSubModel(PamhyrID):
pid = next(it)
reach_id = next(it)
if reach_id == -1:
return
execute(
f"UPDATE {table} " +
f"SET reach = {reachs[reach_id]} " +