-- +goose Up -- Preserve the originating request trace context on the durable job. The -- lease reaper and reconciliation path need an original parent even after the -- API span and the relay process have ended. ALTER TABLE attachment_jobs ADD COLUMN traceparent text NOT NULL DEFAULT '', ADD COLUMN tracestate text NOT NULL DEFAULT ''; -- +goose Down ALTER TABLE attachment_jobs DROP COLUMN IF EXISTS tracestate, DROP COLUMN IF EXISTS traceparent;