Merge pull request #10083 from tchak/fix-migration-task

fix(effectif): bug in maintenance task
This commit is contained in:
Paul Chavard 2024-03-08 14:34:56 +00:00 committed by GitHub
commit b219b366ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@
module Maintenance
class BackfillEffectifAnnuelAnneeTask < MaintenanceTasks::Task
def collection
Etablissement.where.not(effectif_annuel: nil).where(effectif_annuel_annee: nil)
Etablissement.where.not(entreprise_effectif_annuel: nil).where(entreprise_effectif_annuel_annee: nil)
end
def process(etablissement)