1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20220322135836_add_scopes_to_o_auth2_provider.rb

10 lines
323 B
Ruby
Raw Normal View History

# 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