demarches-normaliennes/db/migrate/20211020104237_add_champs_etablissement_id_index.rb

8 lines
185 B
Ruby
Raw Normal View History

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