demarches-normaliennes/db/migrate/20231025161609_add_departement_to_services.rb
2024-08-22 09:26:48 +02:00

10 lines
256 B
Ruby

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