鏡像自
https://github.com/redmine/redmine.git
synced 2024-08-26 17:58:38 +02:00
12 行
250 B
Ruby
12 行
250 B
Ruby
![]() |
class AddProjectsLftAndRgt < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :projects, :lft, :integer
|
||
|
add_column :projects, :rgt, :integer
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :projects, :lft
|
||
|
remove_column :projects, :rgt
|
||
|
end
|
||
|
end
|