demarches-normaliennes/db/migrate/20240716091043_remove_old_champs_unique_index.rb

10 lines
240 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
2024-07-16 11:12:46 +02:00
class RemoveOldChampsUniqueIndex < ActiveRecord::Migration[7.0]
disable_ddl_transaction!
def change
remove_index :champs, [:type_de_champ_id, :dossier_id, :row_id], algorithm: :concurrently
end
end