X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/29a780eb1af9ca5f8b55e53cf89701b297707607..d130db9fa84da832a6a0cb0333982725fdc480c7:/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 812572e23..cbd95018d 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[5.0] +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