summaryrefslogtreecommitdiffstats
path: root/db/migrate/105_build_projects_tree.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-11-23 17:53:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-11-23 17:53:12 +0000
commitdc68be983a416f857b4009e8af6175b5587c4749 (patch)
tree49c1e4ef84656d6ae9091cdb9d72ed832eca5f94 /db/migrate/105_build_projects_tree.rb
parent25c63ec74727261c41bd1eec56a04a08e6a4ad07 (diff)
downloadredmine-dc68be983a416f857b4009e8af6175b5587c4749.tar.gz
redmine-dc68be983a416f857b4009e8af6175b5587c4749.zip
Use Project.rebuild_tree! instead of .rebuild! in migration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10868 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/105_build_projects_tree.rb')
-rw-r--r--db/migrate/105_build_projects_tree.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/105_build_projects_tree.rb b/db/migrate/105_build_projects_tree.rb
index 848436d20..cd35373c0 100644
--- a/db/migrate/105_build_projects_tree.rb
+++ b/db/migrate/105_build_projects_tree.rb
@@ -1,6 +1,6 @@
class BuildProjectsTree < ActiveRecord::Migration
def self.up
- Project.rebuild!(false)
+ Project.rebuild_tree!
end
def self.down