1namespace :epets do |
|
2 namespace :signatures do |
|
3 desc "Backfill signature UUIDs" |
|
4 task :backfill_uuids => :environment do |
|
5 signature = Signature.where(uuid: nil).first |
|
7 if signature |
|
8 BackfillSignatureUuidsJob.perform_later(signature.id) |
|
9 end |
|
10 end |
|
11 end |
|
12end |