Category : #laravel
Tags : #laravel, #database and migration
You want to rollback a specific migration file in Laravel application. How can you rollback a specific migration file in laravel? Is there a way to rollback specific migrations in laravel? Yes, there is a way to rollback a specific table migration in laravel.
I am here to show you that way of how to rollback specific table migration in laravel. So let's see the example code of php artisan migrate rollback specific migration:
php artisan migrate:rollback --path=/database/migrations/your-specific-migration.php
Now run
php artisan migrate
Conclusion
I have tried to discuss the clear concept of rollback specific migration laravel 9. Now we know rollback one specific migration in laravel. Hope this laravel migrate rollback specific table tutorial will help you.