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

10 lines
225 B
Ruby
Raw Permalink Normal View History

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