mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
10 lines
323 B
Ruby
10 lines
323 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# This migration saves the scopes of the OAuth2 provider to the database.
|
||
|
# Previously, the scopes were defined in the OAUTH2_SCOPE environment variable.
|
||
|
class AddScopesToOAuth2Provider < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
add_column :o_auth2_providers, :scopes, :string
|
||
|
end
|
||
|
end
|