2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-31 00:06:56 -04:00
|
|
|
class AddUserActionsAllIndex < ActiveRecord::Migration[4.2]
|
2015-05-14 00:39:04 -04:00
|
|
|
def change
|
|
|
|
add_index :user_actions,
|
|
|
|
%i[user_id created_at action_type],
|
|
|
|
name: "idx_user_actions_speed_up_user_all"
|
|
|
|
end
|
|
|
|
end
|