Remove ignored_columns

This commit is contained in:
Paul Chavard 2021-04-08 13:08:27 +01:00
parent b294566f2a
commit f152c51d12
4 changed files with 0 additions and 8 deletions

View file

@ -13,8 +13,6 @@
# instructeur_id :integer
#
class AssignTo < ApplicationRecord
self.ignored_columns = [:procedure_id]
belongs_to :instructeur, optional: false
belongs_to :groupe_instructeur, optional: false
has_one :procedure_presentation, dependent: :destroy

View file

@ -54,8 +54,6 @@ class Avis < ApplicationRecord
attr_accessor :emails
attr_accessor :invite_linked_dossiers
self.ignored_columns = [:instructeur_id, :tmp_expert_migrated]
def email_to_display
expert&.email
end

View file

@ -47,8 +47,6 @@
# dossier_id :integer
#
class Etablissement < ApplicationRecord
self.ignored_columns = [:entreprise_id]
belongs_to :dossier, optional: true
has_one :champ, class_name: 'Champs::SiretChamp'

View file

@ -45,8 +45,6 @@
#
class Procedure < ApplicationRecord
self.ignored_columns = ['archived_at', 'csv_export_queued', 'xlsx_export_queued', 'ods_export_queued']
include ProcedureStatsConcern
include Discard::Model