1 # frozen_string_literal: true
 
   3 class AddUserIndexToDiaryComments < ActiveRecord::Migration[4.2]
 
   5     add_index :diary_comments, [:user_id, :created_at], :name => "diary_comment_user_id_created_at_index"
 
   9     remove_index :diary_comments, :name => "diary_comment_user_id_created_at_index"