Laravel 5.3: Rollback one migration
News / updated: August 08, 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 great for when you migrate and it runs through a batch but you want to back out just the last one instead the whole batch.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.