Permalink
Browse files

For safety, run railties:install:migrations before db:migrate

  • Loading branch information...
parndt committed Feb 29, 2012
1 parent 3555b87 commit 0035c19f17527b11bdceb53d927a8a82460ff993
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/lib/generators/refinery/cms/cms_generator.rb
@@ -152,7 +152,8 @@ def manage_roadblocks!
end
def migrate_database!
- rake 'railties:install:migrations db:migrate'
+ rake 'railties:install:migrations'
+ rake 'db:migrate'
end
def mount!

0 comments on commit 0035c19

Please sign in to comment.