mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
17 lines
412 B
Ruby
17 lines
412 B
Ruby
# frozen_string_literal:true
|
|
|
|
class CreateOAuth2Providers < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :o_auth2_providers do |t|
|
|
t.string :base_url
|
|
t.string :token_endpoint
|
|
t.string :authorization_endpoint
|
|
t.string :client_id
|
|
t.string :client_secret
|
|
t.belongs_to :auth_provider, index: true, foreign_key: true
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|