Add merge token to FCI
This commit is contained in:
parent
6826bf03b0
commit
6e6635560f
3 changed files with 13 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
|||
# family_name :string
|
||||
# gender :string
|
||||
# given_name :string
|
||||
# merge_token :string
|
||||
# merge_token_created_at :datetime
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# france_connect_particulier_id :string
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
class AddTokenColumnsToFranceConnectInformation < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :france_connect_informations, :merge_token, :string
|
||||
add_column :france_connect_informations, :merge_token_created_at, :datetime
|
||||
|
||||
add_index :france_connect_informations, :merge_token
|
||||
end
|
||||
end
|
|
@ -478,6 +478,9 @@ ActiveRecord::Schema.define(version: 2021_10_12_100819) do
|
|||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.jsonb "data"
|
||||
t.string "merge_token"
|
||||
t.datetime "merge_token_created_at"
|
||||
t.index ["merge_token"], name: "index_france_connect_informations_on_merge_token"
|
||||
t.index ["user_id"], name: "index_france_connect_informations_on_user_id"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue