Support the ongoing development of Laravel.io →
posted 5 years ago
Last updated 1 year ago.
0

do your threads rely on a user? you are only seeding 15 users, so if they have a relationship it will bark at you not having a key for user number 16. if you really want to make the data move your DB::statement('SET FOREIGN_KEY_CHECKS=1;'); to the end.

Last updated 5 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.