demarches-normaliennes/db/migrate/20221226221025_add_virus_scan_result_index.rb
2024-08-22 09:26:48 +02:00

9 lines
225 B
Ruby

# 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