RelationManager belongsToMany withPivot(['id']) returns Column 'id' in order clause is ambiguous
When attaching an Product item to my Warehouse model which is a manyToMany relationship. I'm getting an SQL error (see below) the order by should contain the pivot table name ....
i need the "id" because my attachments can be duplicated. I also already have configured: