demarches-normaliennes/db/migrate/20221122123809_add_libelle_index_to_procedures.rb

10 lines
209 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2022-11-22 13:59:03 +01:00
class AddLibelleIndexToProcedures < ActiveRecord::Migration[6.1]
disable_ddl_transaction!
def change
add_index :procedures, :libelle, algorithm: :concurrently
end
end