Skip to content

migrate:rollback

Rollback the last database migration

Usage

migrate:rollback [options]

Options

Local

  • --count <count> - The amount of migrations to rollback (max 0)

  • --all - Rollback all migrations

Global

  • -V, --version - output the version number

  • -v, --verbose - Increase output level

  • -f, --force - Force the operation to run without asking for confirmation.

  • --linked - Works with the linked database instead of the local one.