Laravel 5.3: Rollback one migration
News / updated: June 10, 2017

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.

This appeared first on Laravel News
Laravel News Partners

Newsletter

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