Laravel 4: pivot table example (attach and detach)

What’s a pivot table? A pivot table is a database table that only exists to serve a many-to-many relationship. Say you have a table “customer” and a table “drinks”. If…

Read more »