mirror of
https://github.com/redmine/redmine.git
synced 2024-08-12 14:10:20 +02:00
12 lines
235 B
Ruby
12 lines
235 B
Ruby
|
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
|