chore(blobs): add virus_scan_result index
This commit is contained in:
parent
c4a30084fe
commit
ec6045c370
1 changed files with 7 additions and 0 deletions
7
db/migrate/20221226221025_add_virus_scan_result_index.rb
Normal file
7
db/migrate/20221226221025_add_virus_scan_result_index.rb
Normal 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
|
Loading…
Reference in a new issue