Closed
Description
Hi,
When i try to add again same relation to many-to-many relationship, the relation is not added - it's ok.
But, in the same case, when i have pivot model with $incrementing = true, it works weird. For first record in pivot table is works as excpected, duplicates are not added, but for any other record (ID != 1) they are - what causes the error if we have unique constraint in database for related columns.