2023-11-08 18:11:20 +01:00
|
|
|
class AddAncestryToGroupeGestionnaires < ActiveRecord::Migration[7.0]
|
2023-10-01 12:52:05 +02:00
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def change
|
|
|
|
add_column :groupe_gestionnaires, :ancestry, :string, collation: 'C', null: false, default: '/'
|
|
|
|
add_index :groupe_gestionnaires, :ancestry, algorithm: :concurrently
|
|
|
|
end
|
|
|
|
end
|