You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20091220183509_add_lft_and_rgt_indexes_to_projects.rb 240B

1234567891011
  1. class AddLftAndRgtIndexesToProjects < ActiveRecord::Migration[4.2]
  2. def self.up
  3. add_index :projects, :lft
  4. add_index :projects, :rgt
  5. end
  6. def self.down
  7. remove_index :projects, :lft
  8. remove_index :projects, :rgt
  9. end
  10. end