diff --git a/db/migrate/20200331164240_add_termine_close_to_expiration_to_dossiers.rb b/db/migrate/20200331164240_add_termine_close_to_expiration_to_dossiers.rb new file mode 100644 index 000000000..5e46cc2c1 --- /dev/null +++ b/db/migrate/20200331164240_add_termine_close_to_expiration_to_dossiers.rb @@ -0,0 +1,5 @@ +class AddTermineCloseToExpirationToDossiers < ActiveRecord::Migration[5.2] + def change + add_column :dossiers, :termine_close_to_expiration_notice_sent_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index e7a2911e7..005470ef1 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -258,6 +258,7 @@ ActiveRecord::Schema.define(version: 2020_04_21_174642) do t.index "to_tsvector('french'::regconfig, (search_terms || private_search_terms))", name: "index_dossiers_on_search_terms_private_search_terms", using: :gin t.index "to_tsvector('french'::regconfig, search_terms)", name: "index_dossiers_on_search_terms", using: :gin t.interval "en_construction_conservation_extension", default: "00:00:00" + t.datetime "termine_close_to_expiration_notice_sent_at" t.index ["archived"], name: "index_dossiers_on_archived" t.index ["groupe_instructeur_id"], name: "index_dossiers_on_groupe_instructeur_id" t.index ["hidden_at"], name: "index_dossiers_on_hidden_at"