socialforge/db/migrate/20160321071740_add_index_to...

6 lines
143 B
Ruby
Raw Normal View History

class AddIndexToMessageAlls < ActiveRecord::Migration
def change
2016-03-21 16:54:12 +08:00
add_index :message_alls, [:user_id, :message_id, :created_at]
end
end