Cause
user attempted to drop an index that is being used as the enforcement mechanism for unique or primary key.
Action
drop the constraint instead of the index.
Error Message
cannot drop index used for enforcement of unique/primary key
user attempted to drop an index that is being used as the enforcement mechanism for unique or primary key.
drop the constraint instead of the index.