Enforce the uniqueness on the index for one-to-one associations