X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..e6667b7ff5117c101a891c899f1c624f707fa22e:/db/migrate/046_alter_user_roles_and_blocks.rb diff --git a/db/migrate/046_alter_user_roles_and_blocks.rb b/db/migrate/046_alter_user_roles_and_blocks.rb index 5957b13ba..b10fcf144 100644 --- a/db/migrate/046_alter_user_roles_and_blocks.rb +++ b/db/migrate/046_alter_user_roles_and_blocks.rb @@ -1,6 +1,9 @@ require "migrate" -class AlterUserRolesAndBlocks < ActiveRecord::Migration +class AlterUserRolesAndBlocks < ActiveRecord::Migration[4.2] + class UserRole < ApplicationRecord + 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