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:
parent
a782b494cf
commit
9df575060a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue