models: remove columns that have been deleted from db schema
These columns are gone, so we can't stop ignoring them.
This commit is contained in:
parent
b46a148a4c
commit
2892fdbeef
5 changed files with 0 additions and 8 deletions
|
@ -9,8 +9,6 @@
|
||||||
# dossier_id :integer not null
|
# dossier_id :integer not null
|
||||||
#
|
#
|
||||||
class Attestation < ApplicationRecord
|
class Attestation < ApplicationRecord
|
||||||
self.ignored_columns = ['pdf', 'content_secure_token']
|
|
||||||
|
|
||||||
belongs_to :dossier
|
belongs_to :dossier
|
||||||
|
|
||||||
has_one_attached :pdf
|
has_one_attached :pdf
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
# procedure_id :integer
|
# procedure_id :integer
|
||||||
#
|
#
|
||||||
class AttestationTemplate < ApplicationRecord
|
class AttestationTemplate < ApplicationRecord
|
||||||
self.ignored_columns = ['logo', 'signature', 'logo_secure_token', 'signature_secure_token']
|
|
||||||
|
|
||||||
include ActionView::Helpers::NumberHelper
|
include ActionView::Helpers::NumberHelper
|
||||||
include TagsSubstitutionConcern
|
include TagsSubstitutionConcern
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
# user_id :bigint
|
# user_id :bigint
|
||||||
#
|
#
|
||||||
class Commentaire < ApplicationRecord
|
class Commentaire < ApplicationRecord
|
||||||
self.ignored_columns = ['file', 'piece_justificative_id']
|
|
||||||
|
|
||||||
belongs_to :dossier, inverse_of: :commentaires, touch: true
|
belongs_to :dossier, inverse_of: :commentaires, touch: true
|
||||||
|
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
# user_id :integer
|
# user_id :integer
|
||||||
#
|
#
|
||||||
class Dossier < ApplicationRecord
|
class Dossier < ApplicationRecord
|
||||||
self.ignored_columns = ['procedure_id']
|
|
||||||
include DossierFilteringConcern
|
include DossierFilteringConcern
|
||||||
|
|
||||||
include Discard::Model
|
include Discard::Model
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
# administrateur_id :bigint
|
# administrateur_id :bigint
|
||||||
#
|
#
|
||||||
class Service < ApplicationRecord
|
class Service < ApplicationRecord
|
||||||
self.ignored_columns = ['siret']
|
|
||||||
has_many :procedures
|
has_many :procedures
|
||||||
belongs_to :administrateur
|
belongs_to :administrateur
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue