Merge pull request #8649 from demarches-simplifiees/US/ignore-lien-demarche

patch(demarche.lien_demarche): ignore cette colonne pr la supprimer plus tard
This commit is contained in:
mfo 2023-03-31 08:40:42 +00:00 committed by GitHub
commit 0b1ad6acd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ class Procedure < ApplicationRecord
include Discard::Model
self.discard_column = :hidden_at
self.ignored_columns = [:direction, :durees_conservation_required, :cerfa_flag, :test_started_at]
self.ignored_columns = [:direction, :durees_conservation_required, :cerfa_flag, :test_started_at, :lien_demarche]
default_scope -> { kept }