I think there is no any need to do that.
also for me, currently there is no any reason to use an auto_incrementing id column because there is no need to do something directly with a pivot table. it just maintain a relationship
There isn't anything in laravel docs about what you said but they say:
"By default, only the model keys will be present on the pivot object. If your pivot table contains extra attributes, you must specify them when defining the relationship:"
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community