lib/pah/partials/_database.rb in pah-0.0.13 vs lib/pah/partials/_database.rb in pah-0.0.14
- old
+ new
@@ -1,11 +1,9 @@
copy_static_file 'config/database.yml'
gsub_file 'config/database.yml', /PROJECT/, @app_name
git add: 'config/database.yml'
git_commit 'Add config/database.yml.'
-in_root do
- run "bundle exec rake db:create db:migrate db:test:clone"
-end
+run "bundle exec rake db:create db:migrate db:test:clone"
git add: 'db/schema.rb'
git_commit 'Create database, adding db/schema.rb.'