Add en_construction_close_to_expiration_notice_sent_at column

This commit is contained in:
Paul Chavard 2020-02-12 17:41:04 +01:00
parent 8cdabc10a4
commit 7930bf8bf6
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddEnConstructionCloseToExpirationToDossiers < ActiveRecord::Migration[5.2]
def change
add_column :dossiers, :en_construction_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: 2020_03_04_155418) do
ActiveRecord::Schema.define(version: 2020_03_05_155418) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -253,6 +253,7 @@ ActiveRecord::Schema.define(version: 2020_03_04_155418) 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.datetime "groupe_instructeur_updated_at"
t.datetime "en_construction_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"