1 class AddLowercaseUserIndexes < ActiveRecord::Migration[4.2]
3 add_index :users, [], :columns => "LOWER(display_name)", :name => "users_display_name_lower_idx"
4 add_index :users, [], :columns => "LOWER(email)", :name => "users_email_lower_idx"
8 remove_index :users, :name => "users_email_lower_idx"
9 remove_index :users, :name => "users_display_name_lower_idx"