Migration
Migration is the built-in node label of schema migrations, see . The timestamps are strings in RFC 3339 format. error is only there while the last run failed. The steps of a migration are stored in _steps, which is internal to the API and not part of any schema.
The definition below is generated from the code of the API. Schemas of built-in types can extend it, but never overrule it, see built-in .
{ "name": "Migration", "kind": "node", "mode": "partial", "properties": { "schemaName": { "type": "string", "required": true }, "kind": { "type": "string", "required": true }, "schemaVersion": { "type": "integer", "required": true }, "status": { "type": "string", "required": true, "enum": [ "pending", "queued", "running", "succeeded", "failed", "cancelled" ] }, "stepCount": { "type": "integer", "required": true }, "queuedAt": { "type": "string", "required": false }, "startedAt": { "type": "string", "required": false }, "finishedAt": { "type": "string", "required": false }, "error": { "type": "string", "required": false } }, "files": null, "rules": [], "placement": null}