class AddIndexToMemoMessages < ActiveRecord::Migration
def change
add_index :memo_messages, [:user_id, :forum_id, :created_at]
end