I have unique index which was created like this:
CREATE UNIQUE INDEX payment_idem_key_idx ON public.payment USING btree (contract_id, idempotency_key)
I want to remove the UNIQUE
keyword from this index. How do I do it correctly? Should I somehow alter the index? Or should I drop it and then create a new one without the unique keyword? What would be the best practice in order not to lose anything.
I checked this thread, but the answer didn't really help me, because my unique index is not in constraint list. Or am I missing something?