Add Unique code constraint.