6 lines
188 B
Ruby
6 lines
188 B
Ruby
|
class AddIndexToUserActivities < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :user_activities, [:act_id, :act_type, :container_id, :created_at], :name => "user_act_index"
|
||
|
end
|
||
|
end
|