1class AddMoreMissingIndexes < ActiveRecord::Migration 2 def change 3 add_index :taggings, :taggable_type 4 add_index :taggings, :tagger_type 5 end 6end