remove trailing white-spaces from db/migrate/20100313132032_add_issues_nested_sets_columns.rb (#9510)
Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7748 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
39d0e3abd2
commit
5bdbf1aa15
|
@ -4,7 +4,7 @@ class AddIssuesNestedSetsColumns < ActiveRecord::Migration
|
||||||
add_column :issues, :root_id, :integer, :default => nil
|
add_column :issues, :root_id, :integer, :default => nil
|
||||||
add_column :issues, :lft, :integer, :default => nil
|
add_column :issues, :lft, :integer, :default => nil
|
||||||
add_column :issues, :rgt, :integer, :default => nil
|
add_column :issues, :rgt, :integer, :default => nil
|
||||||
|
|
||||||
Issue.update_all("parent_id = NULL, root_id = id, lft = 1, rgt = 2")
|
Issue.update_all("parent_id = NULL, root_id = id, lft = 1, rgt = 2")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue