2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-12-22 18:20:58 +01:00
|
|
|
class Migrations::BackfillVirusScanBlobsJob < ApplicationJob
|
|
|
|
def perform(batch)
|
|
|
|
ActiveStorage::Blob.where(id: batch)
|
|
|
|
.update_all(virus_scan_result: ActiveStorage::VirusScanner::SAFE)
|
|
|
|
end
|
|
|
|
end
|