Hey guys, I am wondering when do you really need pivot tables

Hey guys, I am wondering when do you really need pivot tables, isn't establishing foreign keys enough? I am betting confused about the subject

getting*
Is there any resource you have that could help me sort this out?
You already invited:

debris

Upvotes from:

Pivot tables are used when dealing with models that have many-to-many relationships.
Laravel uses it to map things between the two models. What is very cool about it, though, is you can actually add your own attributes/fields to the pivot table and use them in your app.

If you wanna answer this question please Login or Register