summaryrefslogtreecommitdiffstats
path: root/db/migrate/105_build_projects_tree.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-24 11:31:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-24 11:31:15 +0000
commitc9906480d3f279977720dc3f61534f4a5b77d1d2 (patch)
tree23d1ad1fc0a9435bcb703033dd7b5069ac565005 /db/migrate/105_build_projects_tree.rb
parent51b745470c1d71b92072210a008f29c5d5a945d1 (diff)
downloadredmine-c9906480d3f279977720dc3f61534f4a5b77d1d2.tar.gz
redmine-c9906480d3f279977720dc3f61534f4a5b77d1d2.zip
Merged nested projects branch. Removes limit on subproject nesting (#594).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2304 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/105_build_projects_tree.rb')
-rw-r--r--db/migrate/105_build_projects_tree.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/105_build_projects_tree.rb b/db/migrate/105_build_projects_tree.rb
new file mode 100644
index 000000000..92799f97d
--- /dev/null
+++ b/db/migrate/105_build_projects_tree.rb
@@ -0,0 +1,8 @@
+class BuildProjectsTree < ActiveRecord::Migration
+ def self.up
+ Project.rebuild!
+ end
+
+ def self.down
+ end
+end