From e916cd5c2fe876c0d6cff15c9b2a1e65628b6eeb Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Mon, 4 Jul 2011 18:15:18 -0700 Subject: [PATCH] Why migrate on CI? Schema load. --- lib/tasks/cruise.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/cruise.rake b/lib/tasks/cruise.rake index 1e2a31cbf..ccc3e1b5f 100644 --- a/lib/tasks/cruise.rake +++ b/lib/tasks/cruise.rake @@ -16,7 +16,7 @@ namespace :cruise do end task :migrate do - system('bundle exec rake db:migrate') + system('bundle exec rake db:schema:load') exit_status = $?.exitstatus raise "db:migrate failed!" unless exit_status == 0 end