Merge pull request #10710 from demarches-simplifiees/remove-unused-hidden-at-for-dossiers-ldu

[Tech] Retirer la colonne obsolète 'hidden_at' des dossiers (part 1)
This commit is contained in:
Colin Darie 2024-09-02 12:41:28 +00:00 committed by GitHub
commit cb902732be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 6 additions and 29 deletions

View file

@ -112,10 +112,6 @@ FactoryBot.define do
archived { false }
end
trait :discarded do
hidden_at { Time.zone.now }
end
trait :hidden_by_expired do
hidden_by_expired_at { 1.day.ago }
hidden_by_reason { DeletedDossier.reasons.fetch(:expired) }