X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b606acba0c28652fa6f066c2b5d989ceae41c194..4af54ce93bd01a4094a4657cf9e54860a7e16bb2:/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 a61c36344..c1d3cd987 100644 --- a/db/migrate/046_alter_user_roles_and_blocks.rb +++ b/db/migrate/046_alter_user_roles_and_blocks.rb @@ -1,6 +1,7 @@ -require "migrate" - 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