demarches-normaliennes/db/migrate/20240716091043_remove_old_champs_unique_index.rb
2024-07-22 11:36:56 +02:00

7 lines
209 B
Ruby

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