feat(User): add email_verified_at column to individual (in case of mandant)

This commit is contained in:
simon lehericey 2024-05-27 11:08:14 +02:00
parent fa06d17169
commit dbf6459b4b
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddEmailVerifiedAtColumnToIndividuals < ActiveRecord::Migration[7.0]
def change
add_column :individuals, :email_verified_at, :datetime
end
end

View file

@ -10,7 +10,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # 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 # These are extensions that must be enabled in order to support this database
enable_extension "pg_buffercache" enable_extension "pg_buffercache"
enable_extension "pg_stat_statements" 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.datetime "created_at", precision: nil
t.integer "dossier_id" t.integer "dossier_id"
t.string "email" t.string "email"
t.datetime "email_verified_at"
t.string "gender" t.string "gender"
t.string "nom" t.string "nom"
t.string "notification_method" t.string "notification_method"