How To Rolling Back Migration

Rolling Back Migrations Follow These Steps:

To roll back the latest migration, you may use the rollback command.

php artisan migrate:rollback

You may roll back a limited number of migrations by providing the step option to the rollback command. For example, the following command will roll back the last three migrations:

php artisan migrate:rollback --step=3