Event indices related to #2159

This commit is contained in:
Dmitriy Zaporozhets 2012-12-03 17:50:33 +02:00
parent 05820516f1
commit 8dec24a33c
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,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