Laravel Rollback Dernière migration
php artisan migrate:rollback --step=1
Eranot
php artisan migrate:rollback --step=1
php artisan migrate:rollback
php artisan migrate:reset
To rollback one step:
php artisan migrate:rollback
To rollback multiple steps:
php artisan migrate:rollback --step=[x]
To drop all tables and reload all migrations:
php artisan migrate:fresh
Try this command it works for me
php artisan migrate:fresh
However, be careful! This command will drop all data from your DB:
//Rolling Back Migrations
//To roll back the latest migration operation
php artisan migrate:rollback
//You may roll back a limited number of migrations
php artisan migrate:rollback --step=2
//The migrate:reset command will roll back all of your application's migrations:
php artisan migrate:reset