2024-12-16 21:47:27 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Maintenance
|
|
|
|
class T20241216removeNonUniqueChampsTask < MaintenanceTasks::Task
|
|
|
|
# Documentation: cette tâche supprime les champs en double dans un dossier
|
|
|
|
|
|
|
|
include RunnableOnDeployConcern
|
|
|
|
include StatementsHelpersConcern
|
|
|
|
|
|
|
|
def collection
|
2025-01-07 09:53:29 +01:00
|
|
|
Dossier.includes(champs: [])
|
2024-12-16 21:47:27 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def process(dossier)
|
2025-01-06 15:37:45 +01:00
|
|
|
dossier.tmp_fix_uniq_row_ids
|
2024-12-16 21:47:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|