migration to remove hidden_at from dossiers
This commit is contained in:
parent
b6aac5f80b
commit
0272f79c6a
3 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Dossier < ApplicationRecord
|
||||
self.ignored_columns += [:re_instructed_at, :search_terms, :private_search_terms, :hidden_at]
|
||||
self.ignored_columns += [:re_instructed_at, :search_terms, :private_search_terms]
|
||||
|
||||
include DossierCloneConcern
|
||||
include DossierCorrectableConcern
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class RemoveHiddenAtColumnFromDossiers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
safety_assured { remove_columns :dossiers, :hidden_at }
|
||||
end
|
||||
end
|
|
@ -483,7 +483,6 @@ ActiveRecord::Schema[7.0].define(version: 2024_09_19_145757) do
|
|||
t.boolean "forced_groupe_instructeur", default: false, null: false
|
||||
t.bigint "groupe_instructeur_id"
|
||||
t.datetime "groupe_instructeur_updated_at", precision: nil
|
||||
t.datetime "hidden_at", precision: nil
|
||||
t.datetime "hidden_by_administration_at", precision: nil
|
||||
t.datetime "hidden_by_expired_at"
|
||||
t.string "hidden_by_reason"
|
||||
|
|
Loading…
Reference in a new issue