20200615150955_issue_3085_doorkeeper_scopes.rb 212 B

12345
  1. class Issue3085DoorkeeperScopes < ActiveRecord::Migration[5.2]
  2. def change
  3. Doorkeeper::AccessGrant.where(scopes: ['', nil]).update_all(scopes: 'full') # rubocop:disable Rails/SkipsModelValidations
  4. end
  5. end