Merge pull request #6074 from tchak/remove-ignored-columns

Les colonnes supprimées ne sont plus mentionnées dans le code (#6074)
This commit is contained in:
Pierre de La Morinerie 2021-04-13 18:09:50 +02:00 committed by GitHub
commit 2fbfe1e300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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