Laravel 5.3: Rollback one migration

News

June 6th, 2016

Laravel 5.3: Rollback one migration

A new feature has been added to Laravel 5.3 that will allow you to back out a single migration:

php artisan migrate:rollback --step=1

This is a great feature for when you run a migration, and then you need you need to rollback or revert the last one instead of the whole batch.

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.