class AddLftAndRgtIndexesToTaxons < ActiveRecord::Migration[5.0]
  def change
    add_index :spree_taxons, :lft
    add_index :spree_taxons, :rgt
  end
end

Add missing indexes for Spree::Taxon lft and rgt columns
Add missing indexes for Spree::Taxon lft and rgt columns

* These are used by `awesome_nested_set` to perform ordering and
  therefore indexes should be added to them
