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

9 lines
216 B
Ruby

# frozen_string_literal: true
class AddChampsEtablissementIdIndex < ActiveRecord::Migration[6.1]
disable_ddl_transaction!
def change
add_index :champs, :etablissement_id, algorithm: :concurrently
end
end