Laravel 5.3: Rollback one migration

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: News / Laravel 5.3 / Migrations


Newsletter

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

Laravel News Partners

Laravel Jobs

Lead Front End Developer
Remote
continued
Full-Stack Laravel Developer
Cologne
Revive Interior
Intermediate PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
Remote
continued
Senior PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
Remote
continued
Laravel Developer
Amsterdam (partially remote possible)
Let's Book
Web Developer (Laravel)
Tweed Heads, New South Wales, AUSTRALIA
Tursa Employment & Training
Laravel Experts needed-Remote position
Remote
Golden Sky ROI