Ignore entreprise_id on etablissements
This commit is contained in:
parent
8b6d218f91
commit
03ddd17884
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@
|
|||
# entreprise_id :integer
|
||||
#
|
||||
class Etablissement < ApplicationRecord
|
||||
self.ignored_columns = [:entreprise_id]
|
||||
|
||||
belongs_to :dossier, optional: true
|
||||
|
||||
has_one :champ, class_name: 'Champs::SiretChamp'
|
||||
|
|
Loading…
Reference in a new issue