blob: 8ec510851633205d0890baf4825d6965adad629a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class AddLftAndRgtIndexesToProjects < ActiveRecord::Migration[4.2]
def self.up
add_index :projects, :lft
add_index :projects, :rgt
end
def self.down
remove_index :projects, :lft
remove_index :projects, :rgt
end
end
|