Displaying 1 result from an estimated 1 matches for "position_and_produkt_id_uniq".
2006 Nov 28
3
remove_index appends suffix "_index" to the given name!
Hi all
This creates an index with the name position_and_produkt_id_uniq:
add_index :bilder, [:produkt_id, :position], :unique => true, :name =>
:position_and_produkt_id_uniq
This should remove the same one:
remove_index :bilder, :position_and_produkt_id_uniq
Sadly I get the following error:
Mysql::Error: Can''t DROP ''bilder_position_and_produkt...