migrate:status

php mitosis migrate:status
✓ 20260101000000_create_widgets
✗ 20260201000000_add_index_to_widgets (pending)

Always exits 0, even with pending migrations — this command's job is to report, not to judge. health is the actual deployment gate that fails on pending migrations; if migrate:status also failed on pending, a script chaining migrate:status && … would break unpredictably for a command whose whole point is informational.

Same --path=/--context= options as migrate.

Next steps

  • health — the command that actually gates a deploy on pending migrations.
  • migrate — applying what this command reports as pending.