demarches-normaliennes/db/migrate/20231025161609_add_departement_to_services.rb
2023-10-25 18:41:03 +02:00

8 lines
225 B
Ruby

class AddDepartementToServices < ActiveRecord::Migration[7.0]
disable_ddl_transaction!
def change
add_column :services, :departement, :string
add_index :services, :departement, algorithm: :concurrently
end
end