Add uniqueness constraint to indexes