X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..9568c7fee85a615830ba78639b2ee8440da60668:/db/migrate/20111212183945_add_lowercase_user_indexes.rb diff --git a/db/migrate/20111212183945_add_lowercase_user_indexes.rb b/db/migrate/20111212183945_add_lowercase_user_indexes.rb index 7d1a5e9a9..df6a48c16 100644 --- a/db/migrate/20111212183945_add_lowercase_user_indexes.rb +++ b/db/migrate/20111212183945_add_lowercase_user_indexes.rb @@ -1,6 +1,4 @@ -require "migrate" - -class AddLowercaseUserIndexes < ActiveRecord::Migration[5.0] +class AddLowercaseUserIndexes < ActiveRecord::Migration[4.2] def up add_index :users, [], :columns => "LOWER(display_name)", :name => "users_display_name_lower_idx" add_index :users, [], :columns => "LOWER(email)", :name => "users_email_lower_idx"