20200615150955_issue_3085_doorkeeper_scopes.rb 289 B

1234567
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Issue3085DoorkeeperScopes < ActiveRecord::Migration[5.2]
  3. def change
  4. Doorkeeper::AccessGrant.where(scopes: ['', nil]).update_all(scopes: 'full') # rubocop:disable Rails/SkipsModelValidations
  5. end
  6. end