From 358ff61c0409356690705d9a4e79acf559d685fe Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 1 Mar 2012 19:38:22 +0000 Subject: [PATCH] Just run the pending migrations --- script/production | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/script/production b/script/production index 6a017d0..8ebbc03 100755 --- a/script/production +++ b/script/production @@ -27,12 +27,7 @@ clear_cache() { } do_start() { - if ! rake db:abort_if_pending_migrations; then - echo "========================================" - echo "There are pending migrations, please upgrade the database before starting the production server" - exit 1 - fi - + rake db:migrate clear_cache ./script/ferret_server -e $RAILS_ENV start environments_loop -- libgit2 0.21.2