From 9398b6cf389e232f373c83c0fd2611d8d7383853 Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Tue, 29 Jun 2010 21:44:08 +1000 Subject: [PATCH] improve migrate alias --- bash/aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/aliases b/bash/aliases index bf7f035..d07ac8a 100644 --- a/bash/aliases +++ b/bash/aliases @@ -29,7 +29,7 @@ alias ss='ruby ./script/server' alias sc='ruby ./script/console' alias gen='script/generate' alias migration='script/generate migration' -alias migrate='rake db:migrate' +alias migrate='rake db:migrate && rake db:migrate RAILS_ENV=test' alias rollback='rake db:rollback' alias r='rake' alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"'