Try create instead of insert
What happens when you split it up into 2 calls?
Can you try with Eloquent::unguard(); at the top of the run function
Make sure table is unguarded, and you need multiple insert calls to insert multiple rows. Or you can run 'artisan db:seed' multiple times.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community