1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/db/migrate/20150915144939_create_o_auth2_providers.rb

15 lines
377 B
Ruby
Raw Normal View History

2016-03-23 18:39:41 +01:00
class CreateOAuth2Providers < ActiveRecord::Migration
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