creating tree unique index on a field based on which a primary key already exist