Diff script - alter table add constraint primary key using index

There is a difference between DDL I wrote on one DB, and difference script PL/SQL Developer generated using Compare User Objects.

Real command:
--------------------
create unique index PK_POD_IDX on POD_POD (CISLO);
alter table POD_POD add constraint PK_POD primary key (CISLO) using index PK_POD_IDX;

PL/SQL Developer (compare user objects):
--------------------------------------------------------
create unique index PK_POD_IDX on POD_POD (CISLO);
alter table POD_POD add constraint PK_POD primary key (CISLO);

The problem is, that executing such command can result into different state of target DB.
Is there a way how to fix the generation of diff script?

PL/SQL Developer version 15.0.4.2064, DB Oracle 19c.

Thank you.
 
Last edited:
Back
Top