type

Step

One stable independently ledgered executor invocation.

Properties

PropertyTypeDescription
IDstringThe ID value.
KindStepKindThe Kind value.
ExecutorVersionuint32The ExecutorVersion value.
NamestringThe Name value.
Payloadjson.RawMessageThe Payload value.

How it works

Payloads are typed: SQL, rename, plugin SQL, reference backfill, resource retirement, schema assertion, or closed concurrent-index operations. Arbitrary SQL is never admitted outside a transaction.

Full signature

type Step struct { ID string `json:"id"` Kind StepKind `json:"kind"` ExecutorVersion uint32 `json:"executorVersion"` Name string `json:"name"` Payload json.RawMessage `json:"payload"` }

Source migration/phases.go:87