class AddAncestryToGroupeGestionnaires < ActiveRecord::Migration[6.1] 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