add index to activity feed

This commit is contained in:
Alexander Machehin 2013-11-22 19:14:52 +06:00
parent bed660e45c
commit 849c85d5a1
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class AddUserIndexToActivityFeed < ActiveRecord::Migration
def change
add_index :activity_feeds, [:user_id, :kind]
end
end