diff --git a/db/migrate/20131122130913_add_user_index_to_activity_feed.rb b/db/migrate/20131122130913_add_user_index_to_activity_feed.rb new file mode 100644 index 000000000..7e391ac1f --- /dev/null +++ b/db/migrate/20131122130913_add_user_index_to_activity_feed.rb @@ -0,0 +1,5 @@ +class AddUserIndexToActivityFeed < ActiveRecord::Migration + def change + add_index :activity_feeds, [:user_id, :kind] + end +end