kopie van
https://github.com/redmine/redmine.git
synced 2024-08-26 17:58:38 +02:00
12 regels
235 B
Ruby
12 regels
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
|