Merge pull request #8443 from tchak/fix-after-party
fix(after_party): DateTimeChamp -> DatetimeChamp
This commit is contained in:
commit
736527b946
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