]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20111212183945_add_lowercase_user_indexes.rb
Merge pull request #2427 from mmd-osm/patch/remove_expand_bbox
[rails.git] / db / migrate / 20111212183945_add_lowercase_user_indexes.rb
index 69e7ed2995253b3279d3f39415897cf00916d1d7..202b23388b5a509c125981575bdcc97e9d31b26f 100644 (file)
@@ -1,6 +1,6 @@
-require 'migrate'
+require "migrate"
 
-class AddLowercaseUserIndexes < ActiveRecord::Migration
+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"