demarches-normaliennes/db/migrate/20211020104237_add_champs_etablissement_id_index.rb
2021-10-20 16:51:41 +02:00

7 lines
185 B
Ruby

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