Answer the question
In order to leave comments, you need to log in
How to remove a unique index in Ruby on Rails?
I delete like this:
remove_index :price_crosses, name: :price_crosses_oem_make_name_cross_oem_cross_make_name_key
Answer the question
In order to leave comments, you need to log in
It says right here what to do.
HINT: You can drop constraint price_crosses_oem_make_name_cross_oem_cross_make_name_key on table price_crosses instead.
: DROP INDEX "price_crosses_oem_make_name_cross_oem_cross_make_name_key
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question