20100517230848_add_question_index_to_appearances_table.rb 197 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 class AddQuestionIndexToAppearancesTable < ActiveRecord::Migration def self.up add_index :appearances, :question_id end def self.down remove_index :appearances, :question_id end end