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:
Toshi MARUYAMA 2011-11-07 00:13:01 +00:00
parent 39d0e3abd2
commit 5bdbf1aa15
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class AddIssuesNestedSetsColumns < ActiveRecord::Migration
add_column :issues, :root_id, :integer, :default => nil
add_column :issues, :lft, :integer, :default => nil
add_column :issues, :rgt, :integer, :default => nil
Issue.update_all("parent_id = NULL, root_id = id, lft = 1, rgt = 2")
end