socialforge/db/migrate/20160321073107_add_index_to...

6 lines
143 B
Ruby
Raw Normal View History

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