Laravel 5.3+
Rollback one step. Natively.
php artisan migrate:rollback --step=1
And here’s the manual page: docs.
Laravel 5.2 and before
No way to do without some hassle. For details, check Martin Bean’s answer.
More Related Contents:
- Laravel – Route::resource vs Route::controller
- Laravel Redirect Back with() Message
- What is the difference between queue:work –daemon and queue:listen
- Laravel redirect back to original destination after login
- Migration: Cannot add foreign key constraint
- Laravel 5.6 – Passport JWT httponly cookie SPA authentication for self consuming API?
- How can I resolve “Your requirements could not be resolved to an installable set of packages” error?
- global variable for all controller and views
- Eloquent eager load Order by
- Laravel Fluent Query Builder Join with subquery
- Laravel 4: how to run a raw SQL?
- Laravel Session always changes every refresh / request in Laravel 5.4
- Laravel Migration Change to Make a Column Nullable
- Laravel Controller Subfolder routing
- How to compare two Carbon Timestamps?
- How Can I Set the Default Value of a Timestamp Column to the Current Timestamp with Laravel Migrations?
- Validation of array form fields in laravel 4 error
- “Please provide a valid cache path” error in laravel
- Best Practices for Laravel 4 Helpers and Basic Functions?
- How to access model hasMany Relation with where condition?
- Including a css file in a blade template?
- Laravel 4: Failed to open stream: Permission denied
- First Or Create
- I’m getting error “Class ‘Predis\Client’ not found” in Laravel 5.2
- Has many through many-to-many
- Laravel: Change base URL?
- Laravel 4 : Route to localhost/controller/action
- Modify existing Authorization module (email to username)
- Clone an Eloquent object including all relationships?
- Laravel: how to set date format on model attribute casting?