6 lines
143 B
Ruby
6 lines
143 B
Ruby
|
class AddIndexToMemoMessages < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :memo_messages, [:user_id, :forum_id, :created_at]
|
||
|
end
|
||
|
end
|