chore(db): remove already dropped ignored columns

This commit is contained in:
Paul Chavard 2022-07-28 10:56:41 +02:00
parent 10ef4a4be5
commit 48a4e8bec5
3 changed files with 0 additions and 5 deletions

View file

@ -14,8 +14,6 @@
# dossier_id :bigint # dossier_id :bigint
# #
class DossierOperationLog < ApplicationRecord class DossierOperationLog < ApplicationRecord
self.ignored_columns = [:instructeur_id]
enum operation: { enum operation: {
changer_groupe_instructeur: 'changer_groupe_instructeur', changer_groupe_instructeur: 'changer_groupe_instructeur',
passer_en_instruction: 'passer_en_instruction', passer_en_instruction: 'passer_en_instruction',

View file

@ -56,7 +56,6 @@
# #
class Procedure < ApplicationRecord class Procedure < ApplicationRecord
self.ignored_columns = [:duree_conservation_dossiers_hors_ds]
include ProcedureStatsConcern include ProcedureStatsConcern
include EncryptableConcern include EncryptableConcern

View file

@ -41,8 +41,6 @@ class User < ApplicationRecord
devise :database_authenticatable, :registerable, devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable, :confirmable, :lockable :recoverable, :rememberable, :trackable, :validatable, :confirmable, :lockable
self.ignored_columns = [:administrateur_id, :instructeur_id, :expert_id]
has_many :dossiers, dependent: :destroy has_many :dossiers, dependent: :destroy
has_many :targeted_user_links, dependent: :destroy has_many :targeted_user_links, dependent: :destroy
has_many :invites, dependent: :destroy has_many :invites, dependent: :destroy