I have three models:
Task Project Topic
A Task can be associated with a Project or a Topic or to both.
Is there any type of eloquent relationship that I can use to achieve this type of relation or do I have to use the Polymorphic Many to Many?
I don't want to use the standard belongsTo with foreign key because I might extend it to other models.
Thanks!
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1WEpiPI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire