add dossier_construction_conservation_extension column

This commit is contained in:
clemkeirua 2020-03-19 14:45:57 +01:00
parent 057d7bc2f1
commit dadbcd7ede
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class AddEnConstructionConservationExtensionToDossiers < ActiveRecord::Migration[5.2]
def change
add_column :dossiers, :en_construction_conservation_extension, :interval, :default => 0.days
end
end

View file

@ -255,6 +255,7 @@ ActiveRecord::Schema.define(version: 2020_03_19_103836) do
t.datetime "en_construction_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.interval "en_construction_conservation_extension", default: "00:00:00"
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"