alter table nodeLinkT drop index dstNodeId_srcNodeId_uq; alter table nodeLinkT add constraint unique index dstNodeId_srcNodeId_uq (nodeLinkTypeId asc, dstNodeId asc, srcNodeId asc); -- alter table nodeLinkT add constraint unique index dstNodeId_srcNodeId_uq (dstNodeId asc, srcNodeId asc, nodeLinkTypeId asc);