Merge pull request #10083 from tchak/fix-migration-task
fix(effectif): bug in maintenance task
This commit is contained in:
commit
b219b366ff
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue