laravel/framework — pull request #498 by spikensbror (2013-03-05 01:29:22+00:00)
Title: Migration Options

The `migrate:rollback`, `migrate:reset` and `migrate:refresh` commands now accept the options that you might expect them to provide:

* `--bench`
* `--path`
* `--package`

This makes migrations a lot more viable in packages.

Rollback works by looping all ran migration batches until it finds a batch that intersects with one or more migrations inside the active migration path. (app/database/migrations, vendor/x/y/src/migrations, etc)

If it finds an intersecting batch, it will down all migrations within the batch.
If it doesn't, it will spit `Nothing to rollback.` at you.