20121203154450_add_events_indices.rb 208 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 class AddEventsIndices < ActiveRecord::Migration def change add_index :events, :project_id add_index :events, :author_id add_index :events, :action add_index :events, :target_type end end