class AddLowercaseUserIndexes < ActiveRecord::Migration[4.2]
def up
add_index :users, [], :columns => "LOWER(display_name)", :name => "users_display_name_lower_idx"
class AddLowercaseUserIndexes < ActiveRecord::Migration[4.2]
def up
add_index :users, [], :columns => "LOWER(display_name)", :name => "users_display_name_lower_idx"