Follow up - a782b494cf - Maintenance: CI DB created from schema already contains tables of CD packages that should get created via migration files of the Package.

This commit is contained in:
Thorsten Eckel 2020-08-19 10:32:00 +02:00
parent a782b494cf
commit 9df575060a

View file

@ -8,9 +8,9 @@ namespace :zammad do
# we loop over each dependent task to be able to # we loop over each dependent task to be able to
# execute them and their prerequisites multiple times (in tests) # execute them and their prerequisites multiple times (in tests)
# there is no way in rake to achieve that # 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].reenable
Rake::Task[task].invoke Rake::Task[task].invoke