Support the ongoing development of Laravel.io →

bastientanesie

Joined 30 Jun 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

DB design & Eloquent: two models related to one category

Hi guys! I'm building a website for a client where there is a catalogue/e-commerce section and I've...

0 Likes
0 Replies
replied 10 years ago

Comments for multiple models

Have a look at Polymorphic Relations in the documentation, that fits perfectly to your case!

0 Likes

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.