6 lines
158 B
Ruby
6 lines
158 B
Ruby
|
class AddIndexToMessageAlls < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :message_alls, [:user_id, :message_id, :message_type, :created_at]
|
||
|
end
|
||
|
end
|