diff --git a/app/jobs/pjs_migration_job.rb b/app/jobs/pjs_migration_job.rb index 06acaafd6..eeeb1dc67 100644 --- a/app/jobs/pjs_migration_job.rb +++ b/app/jobs/pjs_migration_job.rb @@ -24,6 +24,7 @@ class PjsMigrationJob < ApplicationJob client.delete_object(container, old_key) end rescue Fog::OpenStack::Storage::NotFound + blob.attachments.destroy_all end def already_moved?(blob)