Merge pull request #9657 from mfo/US/ops-dossier-champs-missing

tech(maintenance): ajoute `maintenance_task` une  pour ajouter des champs manquant a un dossier
This commit is contained in:
mfo 2023-10-31 16:31:11 +00:00 committed by GitHub
commit 0f608444b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
module Maintenance
class AddDossiersMissingChampsTask < MaintenanceTasks::Task
csv_collection
def process(row)
DataFixer::DossierChampsMissing(dossier: row["dossier_id"]).fix
end
end
end