samedi 7 mai 2016

Pivot table for three tables

I'm new in Laravel's world and I need to create a pivot table BUT for three tables, I've searched but each time I find the pivot table for two tables, for my case, I have users table, Roles table and network table, I want to add a fourth table where I can find the user_id, role_id and network_id. actually I'm confused how to use the many to many relationship. can you help me ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1TvFEqA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire