Merge pull request #8443 from tchak/fix-after-party

fix(after_party): DateTimeChamp -> DatetimeChamp
This commit is contained in:
Paul Chavard 2023-01-17 16:22:10 +01:00 committed by GitHub
commit 736527b946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ namespace :after_party do
puts "Running deploy task 'normalize_datetime_values'"
# 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))
end