]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20111212183945_add_lowercase_user_indexes.rb
Use a 307 Temporary Redirect to redirect to authentication
[rails.git] / db / migrate / 20111212183945_add_lowercase_user_indexes.rb
index 7d1a5e9a913c60ee3a6a3928ad446ed7a4f3c635..df6a48c16beac5eae3f91d8de4ec8681ddffac15 100644 (file)
@@ -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"