From 743c382a0377ba600ec351fa558a895e65ceb6cf Mon Sep 17 00:00:00 2001 From: Priit Tamboom Date: Mon, 6 Oct 2014 14:23:35 +0300 Subject: [PATCH] Robot now manually reset database --- bin/robot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/robot b/bin/robot index 5ce531c9b..9232e247f 100755 --- a/bin/robot +++ b/bin/robot @@ -16,7 +16,10 @@ setuser app bundle install --deployment # cp config/secrets-example.yml config/secrets.yml # create manually config/database.yml -RAILS_ENV=test bundle exec rake db:reset +RAILS_ENV=test bundle exec rake db:drop +RAILS_ENV=test bundle exec rake db:create +RAILS_ENV=test bundle exec rake db:schema:load +RAILS_ENV=test bundle exec rake db:seed RAILS_ENV=test bundle exec rake assets:precompile echo "GIT_LAST_COMMITS"