rent
ReferenceCommand line

rent migrate status

Use status before and after deployment to see whether each version is applied, pending, dirty, modified, or missing locally.

Inspect deployment state

rent migrate status
Migration status

Version           Status     Name
20260910022456    applied    create_users
20260910022512    pending    add_posts

A modified checksum or dirty record is shown explicitly:

Migration status

Version           Status     Name
20260910022456    modified   create_users
20260910022512    dirty      add_posts

Resolve modified files by restoring their committed contents. Investigate a dirty migration before using rent migrate repair.

Read status from automation

rent migrate status --format json
{
  "migrations": [
    {
      "name": "create_users",
      "status": "applied",
      "version": "20260910022456"
    }
  ]
}

The JSON status is one of applied, pending, dirty, modified, or missing.

On this page