20100505235409_add_choice_indexes_to_prompts.rb 269 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 class AddChoiceIndexesToPrompts < ActiveRecord::Migration def self.up add_index :prompts, :left_choice_id add_index :prompts, :right_choice_id end def self.down remove_index :prompts, :left_choice_id remove_index :prompts, :right_choice_id end end