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:
commit
e76b97fcb5
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue