Migrations: a tour of Setup > Migrations
Everything you do with migrations in the administration happens in Setup > Migrations. This page walks through its screens once, so you know where each task lives; each screen has its own page with the steps in detail.
Contents
- Opening the migrations pages
- The tabs
- Which page for which task
- The dashboard block
- The Recording bar
- The website sidebar
- Who sees what
- Related pages
Opening the migrations pages
- Sign in to the administration.
- Choose Setup in the top menu.
- In the left column, group System, choose Migrations. The status page opens (
/migration/status).
The ? button in the header opens the help page of the screen you are on, from every tab.

The tabs
Every screen of Setup > Migrations has the same row of tabs:

| Tab | Address | What it is for | Help |
|---|---|---|---|
| Status | /migration/status | every migration with its state (done, pending, failed, not needed), the lock, the latest runs | The status |
| History | /migration/history | every run with its captions, commit, tag and push; resume and roll back | The history |
| Dry run | /migration/dryrun | what a run would change now, without changing anything; Simulate | Dry run |
| Run | /migration/run | run the pending migrations, with the long-run fields and the safeguards | Run |
| Rollback | /migration/rollback | take a run, one migration or an earlier caption back | Roll back |
| Recording | /migration/recording | record your changes, or every change in a time window, and generate a migration from them | Recording changes |
| Remotes | /migration/remotes | the other installations (dev, stage, production ...) migrations are deployed to; New remote | Add a remote step by step |
| Deploys | /migration/deploy | send the migrations to remotes and run them there, all at once or stage by stage; the history | Deploy step by step |
| Editor | /migration/editor | write a new YAML migration with forms, check it and save it | The migration editor |
A tab you have no policy for is not shown: Run needs migration/run, Rollback migration/rollback,
Recording and Editor migration/edit.
Which page for which task
| I want to ... | Open | Steps |
|---|---|---|
| see whether something is pending or failed | Status | The status |
| know what a run would change | Dry run | Dry run |
| apply the pending migrations | Run | Run |
| split a long run, or run it at a lower priority | Run, card A long run in parts | A long run in parts |
| see why a run failed, and resume it | History, the run's page | When a migration fails |
| go back to how the site was before a run | Rollback | Roll back |
| turn changes I make by hand into a migration | Recording | Recording changes |
| write a migration without a shell | Editor | The migration editor |
| make a migration of a class, a role or a section that exists | the console | Generating migrations |
| add staging or production as a target | Remotes, New remote | Add a remote step by step |
| put the migrations on staging and production | Deploys | Deploy step by step |
| approve the next stage of a deploy | the deploy's page, Approve | Staged deploys and the gate |
The dashboard block
The dashboard of the administration shows a Migrations block with the number of pending and failed migrations, the orphans and the last run, and links to the status:

The Recording bar
While a recording of your changes runs, or a site-wide window is open, a red Recording… bar shows at the top of every page of the administration, with Show (the recording) and Stop recording:

The website sidebar
On the site's own pages, the website sidebar has a Migrations panel: the failed and pending migrations, the last run, the latest deploys and Record my changes (Migrations in the website sidebar).
Who sees what
| Policy | Shows |
|---|---|
migration/read | Status, History, Dry run, Remotes, Deploys, a deploy's page, the dashboard block, the sidebar panel |
migration/run | Run, Resume, Simulate |
migration/rollback | Rollback |
migration/edit | Recording, Editor, Generate migration |
migration/remotes | New remote, Edit, Remove, Test connection |
migration/deploy | Preflight, Deploy, Approve, roll a deploy back |
Only the Administrator role has them in a new installation. Every action that changes something asks "Verify it's you" first (Policies, views and events).
Related pages
- Migrations: the hub, In the administration, Frequently asked questions
- The status and the history, Run, dry run and rollback, Recording changes, The migration editor, Generating migrations
- Add a remote step by step, Deploy step by step, Remotes and deploys
- Migrations in the website sidebar, When a migration fails