class Doorkeeper::ApplicationScopesGenerator

def application_scopes

def application_scopes
  if oauth_applications_exists? && !scopes_column_exists?
    migration_template(
      'add_scopes_to_oauth_applications.rb',
      'db/migrate/add_scopes_to_oauth_applications.rb'
    )
  end
end