Merge pull request #5459 from betagouv/remove-ignored-columns

Suppression des colonnes précédemment retirées de la base de donnée
This commit is contained in:
Pierre de La Morinerie 2020-08-12 12:18:18 +02:00 committed by GitHub
commit 5d3968a304
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 8 deletions

View file

@ -9,8 +9,6 @@
# dossier_id :integer not null
#
class Attestation < ApplicationRecord
self.ignored_columns = ['pdf', 'content_secure_token']
belongs_to :dossier
has_one_attached :pdf

View file

@ -12,8 +12,6 @@
# procedure_id :integer
#
class AttestationTemplate < ApplicationRecord
self.ignored_columns = ['logo', 'signature', 'logo_secure_token', 'signature_secure_token']
include ActionView::Helpers::NumberHelper
include TagsSubstitutionConcern

View file

@ -12,8 +12,6 @@
# user_id :bigint
#
class Commentaire < ApplicationRecord
self.ignored_columns = ['file', 'piece_justificative_id']
belongs_to :dossier, inverse_of: :commentaires, touch: true
belongs_to :user

View file

@ -29,7 +29,6 @@
# user_id :integer
#
class Dossier < ApplicationRecord
self.ignored_columns = ['procedure_id']
include DossierFilteringConcern
include Discard::Model

View file

@ -15,7 +15,6 @@
# administrateur_id :bigint
#
class Service < ApplicationRecord
self.ignored_columns = ['siret']
has_many :procedures
belongs_to :administrateur