diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-07 00:13:01 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-07 00:13:01 +0000 |
commit | 5bdbf1aa1517a6a1bd5b3d85315669e81eba0dec (patch) | |
tree | 76363fd6d5722509321fcf6a1cb3d62deb41e887 /db | |
parent | 39d0e3abd2654335c9185aaaec1e6386653efd8a (diff) | |
download | redmine-5bdbf1aa1517a6a1bd5b3d85315669e81eba0dec.tar.gz redmine-5bdbf1aa1517a6a1bd5b3d85315669e81eba0dec.zip |
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
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20100313132032_add_issues_nested_sets_columns.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20100313132032_add_issues_nested_sets_columns.rb b/db/migrate/20100313132032_add_issues_nested_sets_columns.rb index e7d03e980..2467f6f67 100644 --- a/db/migrate/20100313132032_add_issues_nested_sets_columns.rb +++ b/db/migrate/20100313132032_add_issues_nested_sets_columns.rb @@ -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 |