fix(workflows): fence delivery writes

Co-authored-by: Larry <larry@buzz.local>

Signed-off-by: Logan Johnson <loganj@squareup.com>
This commit is contained in:
Logan Johnson
2026-08-24 12:26:24 -04:00
parent ca97a99628
commit 83e8b7620e

View File

@@ -41,3 +41,5 @@ CREATE INDEX idx_workflow_agent_deliveries_pending
WHERE status IN ('pending', 'claimed');
CREATE INDEX idx_workflow_agent_deliveries_run
ON workflow_agent_deliveries (community_id, run_id, step_id);
SELECT attach_community_write_fence('workflow_agent_deliveries');