I have 3 relations:
project can have many tasks and tast have one project
user can have many tasks and task can have many users
user can have many projects and project can have many users --> this relation I already have in pivot table project_user
How other tables should look like and how can I query them to take all tasks for current logged user and some project id ?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1N2xLWR
via IFTTT
Aucun commentaire:
Enregistrer un commentaire