demarches-normaliennes/db/migrate/20231025161609_add_departement_to_services.rb

11 lines
256 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2023-10-25 18:41:03 +02:00
class AddDepartementToServices < ActiveRecord::Migration[7.0]
disable_ddl_transaction!
def change
add_column :services, :departement, :string
add_index :services, :departement, algorithm: :concurrently
end
end