1 class AddUserIndexToDiaryComments < ActiveRecord::Migration[5.0]
3 add_index :diary_comments, [:user_id, :created_at], :name => "diary_comment_user_id_created_at_index"
7 remove_index :diary_comments, :name => "diary_comment_user_id_created_at_index"