20091219063003_remove_extraneous_index.rb 224 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 class RemoveExtraneousIndex < ActiveRecord::Migration def self.up remove_index :prompts, [:left_choice_id, :right_choice_id] end def self.down add_index :prompts, [:left_choice_id, :right_choice_id] end end