Class: AddScopesToOauthApplications

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/doorkeeper/templates/add_scopes_to_oauth_applications.rb

Instance Method Summary collapse

Instance Method Details

#changeObject


2
3
4
# File 'lib/generators/doorkeeper/templates/add_scopes_to_oauth_applications.rb', line 2

def change
  add_column :oauth_applications, :scopes, :string, null: false, default: ''
end