Skip to content

Commit 20afff5

Browse files
committed
fix: correct schema for platform_function_graphs table references
INSERT/UPDATE on platform_function_graphs were pointing to constructive_platform_function_graph_public but the table lives in constructive_compute_public.
1 parent a19500f commit 20afff5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • pgpm/constructive-compute/deploy/schemas/constructive_compute_public/procedures

pgpm/constructive-compute/deploy/schemas/constructive_compute_public/procedures/platform_create_function_graph/procedure.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BEGIN
3131
RETURNING id INTO v_store_id;
3232
PERFORM "constructive_platform_function_graph_public".init_empty_repo(platform_create_function_graph.database_id, v_store_id);
3333
END IF;
34-
INSERT INTO "constructive_platform_function_graph_public".platform_function_graphs (
34+
INSERT INTO "constructive_compute_public".platform_function_graphs (
3535
database_id,
3636
store_id,
3737
name,

pgpm/constructive-compute/deploy/schemas/constructive_compute_public/procedures/platform_save_graph/procedure.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ BEGIN
4343
commit_id = v_commit_id
4444
WHERE
4545
(r.database_id = v_graph.database_id AND r.store_id = v_graph.store_id) AND r.name = 'main';
46-
UPDATE "constructive_platform_function_graph_public".platform_function_graphs SET
46+
UPDATE "constructive_compute_public".platform_function_graphs SET
4747
is_valid = false, validation_errors = NULL, updated_at = now()
4848
WHERE
4949
id = platform_save_graph.graph_id;

0 commit comments

Comments
 (0)