demarches-normaliennes/db/migrate/20221226221025_add_virus_scan_result_index.rb

8 lines
194 B
Ruby
Raw Normal View History

class AddVirusScanResultIndex < ActiveRecord::Migration[6.1]
disable_ddl_transaction!
def change
add_index :active_storage_blobs, :virus_scan_result, algorithm: :concurrently
end
end