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:
commit
2fbfe1e300
4 changed files with 0 additions and 8 deletions
|
@ -13,8 +13,6 @@
|
||||||
# instructeur_id :integer
|
# instructeur_id :integer
|
||||||
#
|
#
|
||||||
class AssignTo < ApplicationRecord
|
class AssignTo < ApplicationRecord
|
||||||
self.ignored_columns = [:procedure_id]
|
|
||||||
|
|
||||||
belongs_to :instructeur, optional: false
|
belongs_to :instructeur, optional: false
|
||||||
belongs_to :groupe_instructeur, optional: false
|
belongs_to :groupe_instructeur, optional: false
|
||||||
has_one :procedure_presentation, dependent: :destroy
|
has_one :procedure_presentation, dependent: :destroy
|
||||||
|
|
|
@ -54,8 +54,6 @@ class Avis < ApplicationRecord
|
||||||
attr_accessor :emails
|
attr_accessor :emails
|
||||||
attr_accessor :invite_linked_dossiers
|
attr_accessor :invite_linked_dossiers
|
||||||
|
|
||||||
self.ignored_columns = [:instructeur_id, :tmp_expert_migrated]
|
|
||||||
|
|
||||||
def email_to_display
|
def email_to_display
|
||||||
expert&.email
|
expert&.email
|
||||||
end
|
end
|
||||||
|
|
|
@ -47,8 +47,6 @@
|
||||||
# dossier_id :integer
|
# dossier_id :integer
|
||||||
#
|
#
|
||||||
class Etablissement < ApplicationRecord
|
class Etablissement < ApplicationRecord
|
||||||
self.ignored_columns = [:entreprise_id]
|
|
||||||
|
|
||||||
belongs_to :dossier, optional: true
|
belongs_to :dossier, optional: true
|
||||||
|
|
||||||
has_one :champ, class_name: 'Champs::SiretChamp'
|
has_one :champ, class_name: 'Champs::SiretChamp'
|
||||||
|
|
|
@ -45,8 +45,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
class Procedure < ApplicationRecord
|
class Procedure < ApplicationRecord
|
||||||
self.ignored_columns = ['archived_at', 'csv_export_queued', 'xlsx_export_queued', 'ods_export_queued']
|
|
||||||
|
|
||||||
include ProcedureStatsConcern
|
include ProcedureStatsConcern
|
||||||
|
|
||||||
include Discard::Model
|
include Discard::Model
|
||||||
|
|
Loading…
Reference in a new issue