So I spent over an hour trying to work out why
php artisan migrate rollback wouldn’t work. It kept giving me
[RuntimeException] Too many arguments in a little red box.
Which was weird, because
php artisan migrate worked fine, time after time. And if I did a brute force rollback (by dropping the tables in MySQL Workbench), I could then do
php artisan migrate again, and it worked fine again. But
php artisan migrate rollback still didn’t work, and still gave me the
[RuntimeException] Too many arguments error.
Then eventually I read the documentation and saw that you need a colon character. It’s meant to be
php artisan migrate:rollback (with a colon after
migrate and before
And now it works perfectly again. 🙂