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

10 lines
216 B
Ruby
Raw Normal View History

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