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

8 lines
209 B
Ruby
Raw Normal View History

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