On Oracle, I create a table like this:
CREATE TABLE \"Mig1\"( \"Id\" INTEGER NOT NULL , CONSTRAINT \"PK_Mig1\" PRIMARY KEY ( \"Id\" ) )
T
There is an index associated with the primary key constraint, and it is probably still called "PK_Mig1". Try this:
ALTER INDEX "PK_Mig1" RENAME TO "PK_XXX";