]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/046_alter_user_roles_and_blocks.rb
Replace lookup_user_by_id with load_resource
[rails.git] / db / migrate / 046_alter_user_roles_and_blocks.rb
index cbd95018d97765100d758697d6023552fc024ce5..c1d3cd9874c8ef777072ba03dc6204a4ce9df0cb 100644 (file)
@@ -1,7 +1,5 @@
-require "migrate"
-
 class AlterUserRolesAndBlocks < ActiveRecord::Migration[4.2]
-  class UserRole < ActiveRecord::Base
+  class UserRole < ApplicationRecord
   end
 
   def self.up