blob: 1c0b4b3138499642f6a400f991aed187f595772f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class AddLftAndRgtIndexesToProjects < ActiveRecord::Migration
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
|