fix(effectif): bug in maintenance task
This commit is contained in:
parent
0013528deb
commit
0a96405376
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
module Maintenance
|
module Maintenance
|
||||||
class BackfillEffectifAnnuelAnneeTask < MaintenanceTasks::Task
|
class BackfillEffectifAnnuelAnneeTask < MaintenanceTasks::Task
|
||||||
def collection
|
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
|
end
|
||||||
|
|
||||||
def process(etablissement)
|
def process(etablissement)
|
||||||
|
|
Loading…
Reference in a new issue