2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2020-06-15 15:34:21 +00:00
|
|
|
class Issue3085DoorkeeperScopes < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
Doorkeeper::AccessGrant.where(scopes: ['', nil]).update_all(scopes: 'full') # rubocop:disable Rails/SkipsModelValidations
|
|
|
|
end
|
|
|
|
end
|