ReferenceCLI
migrate
engine-dmo migrate: Database migrations: forward only, applied as an explicit deploy step. Every subcommand, argument and flag.
Database migrations: forward only, applied as an explicit deploy step.
| Command | What it does |
|---|---|
engine-dmo migrate status | Applied and pending migrations. Exit 2 if any are pending |
engine-dmo migrate to | Apply pending migrations up to and including a version, 12 for core or crm/3 for a module; forward only |
engine-dmo migrate up | Apply pending migrations |
engine-dmo migrate status
Applied and pending migrations. Exit 2 if any are pending.
engine-dmo migrate status --json prints the command’s own JSON document. Runs in a project.
engine-dmo migrate to
Apply pending migrations up to and including a version, 12 for core or crm/3 for a module; forward only.
engine-dmo migrate to <version> | Argument | Required | Repeatable |
|---|---|---|
version | yes | no |
--json prints the text output in the JSON envelope. Runs in a project.
engine-dmo migrate up
Apply pending migrations.
engine-dmo migrate up --json prints the text output in the JSON envelope. Runs in a project.
See Database and migrations and Upgrades.