Event indices related to #2159
This commit is contained in:
parent
05820516f1
commit
8dec24a33c
2 changed files with 14 additions and 1 deletions
8
db/migrate/20121203154450_add_events_indices.rb
Normal file
8
db/migrate/20121203154450_add_events_indices.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue