Ex. I have two tables, the checkers
table and users
table.
I want to migrate the users
table first because the checkers
table has a foreign key on 'users' table but the checkers
table executes first.
I use php artisan migrate
command.
Do I have to run the users
table first manually or there is a better way?
Just found the answer.
The number before the migration file name is a date time, make your user migration and earlier time and your should be good
Source - http://forumsarchive.laravel.io/viewtopic.php?id=10246