From 6f29e408e8d5a9c1dbd990059a11d4dc17b902b8 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Wed, 13 Sep 2017 13:56:35 +0200 Subject: Drop, create and migrate database in ci. Refs #4468 --- lib/tasks/ci.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 90e47560e..ca70d1821 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -2,7 +2,7 @@ namespace :ci do desc "Prepare CI build" task :setup do cp "config/database/jenkins.yml", "config/database.yml" - sh "RAILS_ENV=test rake db:migrate" + sh "RAILS_ENV=test rake db:drop d:create db:migrate" sh "npm --production --no-progress install" end -- cgit v1.2.3