feat(dossier): add some metadata to archive and remove operation log
This commit is contained in:
parent
7fc16581b5
commit
ece68076a7
5 changed files with 17 additions and 11 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddArchivedAtAndArchivedByToDossiers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :dossiers, :archived_at, :datetime
|
||||
add_column :dossiers, :archived_by, :string
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2022_11_22_145030) do
|
||||
ActiveRecord::Schema.define(version: 2022_11_30_113745) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
|
@ -304,6 +304,8 @@ ActiveRecord::Schema.define(version: 2022_11_22_145030) do
|
|||
create_table "dossiers", id: :serial, force: :cascade do |t|
|
||||
t.string "api_entreprise_job_exceptions", array: true
|
||||
t.boolean "archived", default: false
|
||||
t.datetime "archived_at"
|
||||
t.string "archived_by"
|
||||
t.boolean "autorisation_donnees"
|
||||
t.datetime "brouillon_close_to_expiration_notice_sent_at"
|
||||
t.interval "conservation_extension", default: "PT0S"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue