Skip to content

Commit

Permalink
Always db:create before running db:migrate when generating a CMS.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Feb 29, 2012
1 parent 904cb15 commit 0839ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/generators/refinery/cms/cms_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def manage_roadblocks!

def migrate_database!
rake 'railties:install:migrations'
rake 'db:migrate'
rake 'db:create db:migrate'
end

def mount!
Expand Down

0 comments on commit 0839ea8

Please sign in to comment.