##// END OF EJS Templates
remove trailing white-spaces from db/migrate/20100313132032_add_issues_nested_sets_columns.rb (#9510)...
Toshi MARUYAMA -
r7628:5bdbf1aa1517
parent child
Show More
@@ -4,7 +4,7 class AddIssuesNestedSetsColumns < ActiveRecord::Migration
4 add_column :issues, :root_id, :integer, :default => nil
4 add_column :issues, :root_id, :integer, :default => nil
5 add_column :issues, :lft, :integer, :default => nil
5 add_column :issues, :lft, :integer, :default => nil
6 add_column :issues, :rgt, :integer, :default => nil
6 add_column :issues, :rgt, :integer, :default => nil
7
7
8 Issue.update_all("parent_id = NULL, root_id = id, lft = 1, rgt = 2")
8 Issue.update_all("parent_id = NULL, root_id = id, lft = 1, rgt = 2")
9 end
9 end
10
10
General Comments 0
You need to be logged in to leave comments. Login now