Merge pull request #8511 from E-L-T/add-reminded-at-field-to-avis

feat(avis): add reminded_at field to avis
This commit is contained in:
Eric Leroy-Terquem 2023-01-30 11:21:32 +01:00 committed by GitHub
commit 2aa6e635f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View file

@ -8,6 +8,7 @@
# confidentiel :boolean default(FALSE), not null
# email :string
# introduction :text
# reminded_at :datetime
# revoked_at :datetime
# created_at :datetime not null
# updated_at :datetime not null

View file

@ -0,0 +1,5 @@
class AddRemindedAtToAvis < ActiveRecord::Migration[6.1]
def change
add_column :avis, :reminded_at, :datetime
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2023_01_17_094317) do
ActiveRecord::Schema.define(version: 2023_01_26_145329) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
@ -162,6 +162,7 @@ ActiveRecord::Schema.define(version: 2023_01_17_094317) do
t.string "email"
t.bigint "experts_procedure_id"
t.text "introduction"
t.datetime "reminded_at"
t.datetime "revoked_at"
t.datetime "updated_at", null: false
t.index ["claimant_id"], name: "index_avis_on_claimant_id"