For example when running migrations in Dusk tests the migrations get purged after the tests and leaving the spammers table behind because of the missing down() method. The migrations database table does not keep track of that and therefore running php artisan migrate fails because the spammers table already exists.
For example when running migrations in Dusk tests the migrations get purged after the tests and leaving the
spammers
table behind because of the missingdown()
method. Themigrations
database table does not keep track of that and therefore runningphp artisan migrate
fails because thespammers
table already exists.