Specifications:
Migration errors usually occur when using php artisan migrate
and your migration has an error.
Within Laravel, there are some ways to reverse something that has been performed, especially migrations to more robust databases like MySql, for example.
One way to be reversing the step taken
php artisan migrate
is to run the
php artisan migrate: rollback
It automatically reverses the last migrate performed You also have the possibility to delegate how many steps will be reversed with the step parameter.
The number says how many steps will be reversed
php artisan migrate: rollback --step=1