MigrationStatus uses ConstantsTrait
The lifecycle status of a migration run, stored as the `actionStatus` of its {@see \oihana\arango\migrations\MigrationAction} tracking document.
The values are plain strings (not schema.org status class names) so the tracking collection stays directly queryable from AQL / the API.
Tags
Table of Contents
Constants
- ACTIVE : string = 'active'
- The migration is running (`up()` started, not finished yet). A row left in this state signals a run that crashed mid-flight.
- COMPLETED : string = 'completed'
- The migration finished successfully.
- FAILED : string = 'failed'
- The migration failed — its `up()` threw. The run stopped here and the error is kept on the tracking document.
Constants
ACTIVE
The migration is running (`up()` started, not finished yet). A row left in this state signals a run that crashed mid-flight.
public
string
ACTIVE
= 'active'
COMPLETED
The migration finished successfully.
public
string
COMPLETED
= 'completed'
FAILED
The migration failed — its `up()` threw. The run stopped here and the error is kept on the tracking document.
public
string
FAILED
= 'failed'