Neon Tsunami

Laravel migrate and seed in one command

September 07, 2014

A neat little trick for when you want to migrate your database and immediately seed it, Artisan provides you with the option!

php artisan migrate --seed

Might not be terribly useful but handy when you're putting together a new environment for a large app that take a little while to migrate and seed everything.


A blog about Laravel & Rails, written by Dwight Watson.