2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-10-20 16:50:18 +02:00
|
|
|
class AddChampsEtablissementIdIndex < ActiveRecord::Migration[6.1]
|
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def change
|
|
|
|
add_index :champs, :etablissement_id, algorithm: :concurrently
|
|
|
|
end
|
|
|
|
end
|