mirror of
https://github.com/block/buzz.git
synced 2026-10-31 06:21:34 +00:00
Checkpoint run-level revision persistence before wiring every execution and resume path. Co-authored-by: Larry <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> Signed-off-by: loganj <loganj@squareup.com>
6 lines
306 B
SQL
6 lines
306 B
SQL
-- Bind each new workflow run to the exact signed definition it executes.
|
|
-- Existing rows remain NULL and all resume/execution paths fail them closed.
|
|
ALTER TABLE workflow_runs
|
|
ADD COLUMN definition_event_id BYTEA
|
|
CHECK (definition_event_id IS NULL OR octet_length(definition_event_id) = 32);
|