demarches-normaliennes/db/migrate/20221226221025_add_virus_scan_result_index.rb
2023-01-04 12:12:11 +01:00

7 lines
194 B
Ruby

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