]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/046_alter_user_roles_and_blocks.rb
Use friendly_date for note disappear description
[rails.git] / db / migrate / 046_alter_user_roles_and_blocks.rb
index 864f0db5de95dc168611b3a451f1d4d9e37d0e42..c1d3cd9874c8ef777072ba03dc6204a4ce9df0cb 100644 (file)
@@ -1,6 +1,7 @@
-require 'migrate'
+class AlterUserRolesAndBlocks < ActiveRecord::Migration[4.2]
+  class UserRole < ApplicationRecord
+  end
 
-class AlterUserRolesAndBlocks < ActiveRecord::Migration
   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