fix(after_party): DateTimeChamp -> DatetimeChamp
This commit is contained in:
parent
a349893530
commit
cd22f106be
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue