Added unique constraints for 1:1 associations.