chore(blobs): add virus_scan_result index

This commit is contained in:
Paul Chavard 2022-12-26 22:11:49 +00:00
parent c4a30084fe
commit ec6045c370

View file

@ -0,0 +1,7 @@
class AddVirusScanResultIndex < ActiveRecord::Migration[6.1]
disable_ddl_transaction!
def change
add_index :active_storage_blobs, :virus_scan_result, algorithm: :concurrently
end
end