lib/pah/partials/_database.rb in pah-0.0.9 vs lib/pah/partials/_database.rb in pah-0.0.10
- old
+ new
@@ -1,6 +1,13 @@
copy_static_file 'config/database.yml'
gsub_file 'config/database.yml', /PROJECT/, @app_name
git :add => 'config/database.yml'
git :commit => "-qm 'Adding config/database.yml.'"
-puts "\n"
+in_root do
+ run "rake db:create db:migrate db:test:clone"
+end
+
+git :add => 'db/schema.rb'
+git :commit => "-qm 'Create database, adding db/schema.rb.'"
+
+puts "\n"
\ No newline at end of file