summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-05 09:39:38 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-05 09:39:38 +0000
commit61a1fa1b6e29ecaec656e3e601ae0d298185cb68 (patch)
tree1821f0635b835a14c02a7c3e19261b8e4b564576 /db/migrate
parent1ab261dda6dff917297cff40f8468e63737d010c (diff)
downloadredmine-61a1fa1b6e29ecaec656e3e601ae0d298185cb68.tar.gz
redmine-61a1fa1b6e29ecaec656e3e601ae0d298185cb68.zip
Do not trigger model validations when rebuilding the nested set (#10829).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9632 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate')
-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 92799f97d..848436d20 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!
+ Project.rebuild!(false)
end
def self.down