MigrationKind uses ConstantsTrait
The family of event recorded in the tracking collection, stored as the `additionalType` of a {@see \oihana\arango\migrations\MigrationAction}.
One collection, two families: the versioned migrations applied by the
migrate command, and the declarative apply events journaled by
doctor --apply. The migration runner only ever reads MIGRATE
rows to compute what is pending — DOCTOR rows are an audit trail,
never replayed.
Tags
Table of Contents
Constants
- DOCTOR : string = 'CreateAction'
- A `doctor --apply` event — a declarative structure object created or repaired. Recorded as a schema.org `CreateAction`. Audit only.
- MIGRATE : string = 'UpdateAction'
- A versioned migration applied by the `migrate` command. Recorded as a schema.org `UpdateAction`. Drives the pending computation.
Constants
DOCTOR
A `doctor --apply` event — a declarative structure object created or repaired. Recorded as a schema.org `CreateAction`. Audit only.
public
string
DOCTOR
= 'CreateAction'
MIGRATE
A versioned migration applied by the `migrate` command. Recorded as a schema.org `UpdateAction`. Drives the pending computation.
public
string
MIGRATE
= 'UpdateAction'