From 94be5994013a5412b708bd9c8ce74cd4630ccef2 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Tue, 30 Jul 2024 15:36:09 +0200 Subject: [PATCH] add requested_email column to france_connect_information table --- ...ative_email_column_to_france_connect_information_table.rb | 5 +++++ db/schema.rb | 1 + 2 files changed, 6 insertions(+) create mode 100644 db/migrate/20240730130933_add_alternative_email_column_to_france_connect_information_table.rb diff --git a/db/migrate/20240730130933_add_alternative_email_column_to_france_connect_information_table.rb b/db/migrate/20240730130933_add_alternative_email_column_to_france_connect_information_table.rb new file mode 100644 index 000000000..0ff086128 --- /dev/null +++ b/db/migrate/20240730130933_add_alternative_email_column_to_france_connect_information_table.rb @@ -0,0 +1,5 @@ +class AddAlternativeEmailColumnToFranceConnectInformationTable < ActiveRecord::Migration[7.0] + def change + add_column :france_connect_informations, :requested_email, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index bbef3938d..f7ba84f6b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -712,6 +712,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_08_29_141049) do t.string "given_name" t.string "merge_token" t.datetime "merge_token_created_at", precision: nil + t.string "requested_email" t.datetime "updated_at", precision: nil, null: false t.integer "user_id" t.index ["email_merge_token"], name: "index_france_connect_informations_on_email_merge_token"