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

I find the solution U should add the foreign_key in the relation between models if it is not like model_id

0

Sign in to participate in this thread!

Eventy

Your banner here too?

mahmoud mahmoud9876 Joined 11 Jun 2018

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.