feat(avis): add reminded_at field to avis
This commit is contained in:
parent
22f3442a75
commit
1b67f93c66
3 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
5
db/migrate/20230126145329_add_reminded_at_to_avis.rb
Normal file
5
db/migrate/20230126145329_add_reminded_at_to_avis.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddRemindedAtToAvis < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :avis, :reminded_at, :datetime
|
||||
end
|
||||
end
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue