migrate:rollback
php mitosis migrate:rollback
✓ Rolled back: 20260101000000_create_widgets
Nothing to roll back:
Nothing to roll back.
Options:
--steps=N how many migrations to roll back, most-recently-applied first (default 1)
--path=DIR defaults to database/migrations
--context=NAME target a non-default DB connection
Each rolled-back migration's file must still exist at --path — down() is
called from it directly. Always exits 0.
Next steps
- migrate — the command this reverses.