Support the ongoing development of →
posted 7 years ago
Last updated 6 months ago.

This is a frequent problem. It is known as a four table relation (3 + pivot).
I think the best solution is to add an id column to the pivot table and handle it as a model.


Thanks I came to the same conclusion


Sign in to participate in this thread!

Full Stack Europe

Your banner here too?


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

Your logo here?

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

© 2022 - All rights reserved.