Add brouillon_close_to_expiration_notice_sent_at column to Dossier

This commit is contained in:
simon lehericey 2019-11-28 15:53:51 +01:00
parent dc3df9ec6b
commit a79abfac79
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddNearDeletionNoticeSendToDossier < ActiveRecord::Migration[5.2]
def change
add_column :dossiers, :brouillon_close_to_expiration_notice_sent_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: 2019_11_14_113700) do
ActiveRecord::Schema.define(version: 2019_11_28_081324) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -252,6 +252,7 @@ ActiveRecord::Schema.define(version: 2019_11_14_113700) do
t.text "search_terms"
t.text "private_search_terms"
t.bigint "groupe_instructeur_id"
t.datetime "brouillon_close_to_expiration_notice_sent_at"
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.index ["archived"], name: "index_dossiers_on_archived"