X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cd2ca12d4235473cd3611b84e2a61649c17da2f6..2c7bc3649367bb7f1f75e8ed78c50464645b87cc:/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 69e7ed299..7d1a5e9a9 100644 --- a/db/migrate/20111212183945_add_lowercase_user_indexes.rb +++ b/db/migrate/20111212183945_add_lowercase_user_indexes.rb @@ -1,6 +1,6 @@ -require 'migrate' +require "migrate" -class AddLowercaseUserIndexes < ActiveRecord::Migration +class AddLowercaseUserIndexes < ActiveRecord::Migration[5.0] 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"