]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/035_change_user_locale.rb
Replace lookup_user_by_id with load_resource
[rails.git] / db / migrate / 035_change_user_locale.rb
index 4155fbced9c5a24e7037ba295fab3d565bfbdcde..d1315fa0669634ec2550017ac3bffb1d751e7a07 100644 (file)
@@ -1,6 +1,4 @@
-require "migrate"
-
-class ChangeUserLocale < ActiveRecord::Migration[5.0]
+class ChangeUserLocale < ActiveRecord::Migration[4.2]
   def self.up
     remove_foreign_key :users, :column => :locale, :name => "users_locale_fkey"