]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20111212183945_add_lowercase_user_indexes.rb
Make paragraph breaks more visible in changeset and note comments
[rails.git] / db / migrate / 20111212183945_add_lowercase_user_indexes.rb
index 69e7ed2995253b3279d3f39415897cf00916d1d7..7d1a5e9a913c60ee3a6a3928ad446ed7a4f3c635 100644 (file)
@@ -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"