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

Software Engineer Lead (PHP)
Remote
CivicPlus, LLC
Full-time Senior Web Developer
Detroit, MI
Wayne State University
Senior Software Engineer
Sydney, Australia
FoodByUs
Full Stack Engineer
Remote or Medford, Oregon
Empire Medical
Laravel Developer (fulltime - Dutch only)
Netherlands
Qbixx | Webservices
Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
Senior Quality Assurance Engineer
Remote
Bisnow Media