fix(after_party): DateTimeChamp -> DatetimeChamp

This commit is contained in:
Paul Chavard 2023-01-17 15:32:43 +01:00
parent a349893530
commit cd22f106be

View file

@ -4,7 +4,7 @@ namespace :after_party do
puts "Running deploy task 'normalize_datetime_values'" puts "Running deploy task 'normalize_datetime_values'"
# Put your task implementation HERE. # Put your task implementation HERE.
Champs::DateTimeChamp.in_batches do |datetime_champs| Champs::DatetimeChamp.in_batches do |datetime_champs|
Migrations::BatchUpdateDatetimeValueJob.perform_later(datetime_champs.pluck(:id)) Migrations::BatchUpdateDatetimeValueJob.perform_later(datetime_champs.pluck(:id))
end end