Laravel doesn't require a primary key on a pivot table, and the relationship wor...

@jclermont@phpc.social

Laravel doesn't require a primary key on a pivot table, and the relationship works fine without one. Here's why I add one anyway, and the replication problem it avoids. #php #laravel masteringlaravel.io/daily/2026