Hi Nicolas,
I'm checking, I think is not related to the ticket you mention, but
anyways it is a bug and is better to open a JIRA ticket for that.
On my tests this is the situation:
postgresql is left with two constraints (duplicated):
CONSTRAINT nmd_testverylongtablename_uu_idx UNIQUE
(nmd_testverylongtablename_uu), <- created by 2pack
CONSTRAINT nmd_testverylongtablenameuuidx UNIQUE
(nmd_testverylongtablename_uu), <- created automatically
oracle doesn't allow that and errors with:
ORA-02261: such unique or primary key already exists in the table
Regards,
Carlos Ruiz