]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20111212183945_add_lowercase_user_indexes.rb
Only set QT_QPA_PLATFORM if phantomjs fails without it
[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"