20100317161212_add_question_index_to_prompts.rb 180 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 class AddQuestionIndexToPrompts < ActiveRecord::Migration def self.up add_index :prompts, :question_id end def self.down remove_index :prompts, :question_id end end