chore(schema): +dossiers#sva_svr_decision_on, sva_svr_decision_triggered_at

This commit is contained in:
Colin Darie 2023-06-01 10:05:55 +02:00
parent f2275defc8
commit c3480f550d
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 10 additions and 0 deletions

View file

@ -36,6 +36,8 @@
# processed_at :datetime
# search_terms :string
# state :string
# sva_svr_decision_on :date
# sva_svr_decision_triggered_at :datetime
# termine_close_to_expiration_notice_sent_at :datetime
# created_at :datetime
# updated_at :datetime

View file

@ -0,0 +1,6 @@
class AddSVASVRDecisionOnToDossiers < ActiveRecord::Migration[7.0]
def change
add_column :dossiers, :sva_svr_decision_on, :date, default: nil
add_column :dossiers, :sva_svr_decision_triggered_at, :datetime, default: nil
end
end

View file

@ -409,6 +409,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_06_29_102031) do
t.string "state"
t.datetime "termine_close_to_expiration_notice_sent_at", precision: 6
t.datetime "updated_at", precision: 6
t.date "sva_svr_decision_on"
t.datetime "sva_svr_decision_triggered_at", precision: 6
t.integer "user_id"
t.index ["archived"], name: "index_dossiers_on_archived"
t.index ["batch_operation_id"], name: "index_dossiers_on_batch_operation_id"