Merge pull request #7862 from mfo/US/cleanup-other-col

clean(procedure.columns): :durees_conservation_required, :cerfa_flag, :test_started_at
This commit is contained in:
mfo 2022-10-06 11:36:00 +02:00 committed by GitHub
commit e76b97fcb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,8 @@ class Procedure < ApplicationRecord
include Discard::Model
self.discard_column = :hidden_at
self.ignored_columns = [:durees_conservation_required, :cerfa_flag, :test_started_at]
default_scope -> { kept }
OLD_MAX_DUREE_CONSERVATION = 36