]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/046_alter_user_roles_and_blocks.rb
Avoid more models in old migrations
[rails.git] / db / migrate / 046_alter_user_roles_and_blocks.rb
index a61c3634419c340c9e3c9d389ae3519453549175..cbd95018d97765100d758697d6023552fc024ce5 100644 (file)
@@ -1,6 +1,9 @@
 require "migrate"
 
 class AlterUserRolesAndBlocks < ActiveRecord::Migration[4.2]
+  class UserRole < ActiveRecord::Base
+  end
+
   def self.up
     # the initial granter IDs can be "self" - there are none of these
     # in the current live DB, but there may be some in people's own local