From 9df575060a51acd1937b55e1d0f2a624e1f1bdf3 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 19 Aug 2020 10:32:00 +0200 Subject: [PATCH] Follow up - a782b494cfb65337f75017cc591934975328c3da - Maintenance: CI DB created from schema already contains tables of CD packages that should get created via migration files of the Package. --- lib/tasks/zammad/db/reset.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/zammad/db/reset.rake b/lib/tasks/zammad/db/reset.rake index 7743d6563..f86822f34 100644 --- a/lib/tasks/zammad/db/reset.rake +++ b/lib/tasks/zammad/db/reset.rake @@ -8,9 +8,9 @@ namespace :zammad do # we loop over each dependent task to be able to # execute them and their prerequisites multiple times (in tests) # there is no way in rake to achieve that - %w[db:drop:_unsafe db:create db:schema:load db:seed].each do |task| + %w[db:drop:_unsafe db:create db:migrate db:seed].each do |task| - $stdout = StringIO.new if task == 'db:schema:load'.freeze + $stdout = StringIO.new if task == 'db:migrate'.freeze Rake::Task[task].reenable Rake::Task[task].invoke