diff --git a/db/migrate/20240527090508_add_email_verified_at_column_to_individuals.rb b/db/migrate/20240527090508_add_email_verified_at_column_to_individuals.rb new file mode 100644 index 000000000..b77aea273 --- /dev/null +++ b/db/migrate/20240527090508_add_email_verified_at_column_to_individuals.rb @@ -0,0 +1,5 @@ +class AddEmailVerifiedAtColumnToIndividuals < ActiveRecord::Migration[7.0] + def change + add_column :individuals, :email_verified_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index ff7db2e60..74b41f6c7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2024_05_24_120336) do +ActiveRecord::Schema[7.0].define(version: 2024_05_27_090508) do # These are extensions that must be enabled in order to support this database enable_extension "pg_buffercache" enable_extension "pg_stat_statements" @@ -752,6 +752,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_05_24_120336) do t.datetime "created_at", precision: nil t.integer "dossier_id" t.string "email" + t.datetime "email_verified_at" t.string "gender" t.string "nom" t.string "notification_method"