mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
14 lines
336 B
Ruby
14 lines
336 B
Ruby
|
class CreateOAuth2Mappings < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :o_auth2_mappings do |t|
|
||
|
t.belongs_to :o_auth2_provider, index: true, foreign_key: true
|
||
|
t.string :resource_url
|
||
|
t.string :local_field
|
||
|
t.string :api_field
|
||
|
t.string :data_type
|
||
|
|
||
|
t.timestamps null: false
|
||
|
end
|
||
|
end
|
||
|
end
|