Prevents duplicates in the junction table