orangehill/iseed

iseed cannot put table seeders in DatabaseSeeder.php according to foreign key relationships

parmonov98 opened this issue · 1 comments

it throws errors if some table linked via foreign key and the table seeders are stacked in a wrong order.

it throws errors if some table linked via foreign key and the table seeders are stacked in a wrong order.

If not critical you can always modify the seeder to add
top:
Schema::disableForeignKeyConstraints();
bottom:
Schema::enableForeignKeyConstraints();