mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
Preserve current-main threaded workflow replies while binding owner-signed doorbells to durable, exclusive agent deliveries with lease-safe finalization. Co-authored-by: Larry <larry@buzz.local> Signed-off-by: Logan Johnson <loganj@squareup.com>
5 lines
280 B
SQL
5 lines
280 B
SQL
-- Bind each materialized workflow row to the exact owner-signed kind:30620
|
|
-- revision that produced it. Existing rows remain nullable until re-saved;
|
|
-- workflow doorbells fail closed when the revision is unavailable.
|
|
ALTER TABLE workflows ADD COLUMN definition_event_id BYTEA;
|