Maintenance: Also execute package migrations for db strategy reset.

This commit is contained in:
Rolf Schmidt 2020-08-18 14:46:13 +02:00 committed by Thorsten Eckel
parent 563bcfbefd
commit a782b494cf

View file

@ -18,6 +18,7 @@ namespace :zammad do
$stdout = STDOUT $stdout = STDOUT
end end
Package::Migration.linked
ActiveRecord::Base.connection.reconnect! ActiveRecord::Base.connection.reconnect!
ActiveRecord::Base.descendants.each(&:reset_column_information) ActiveRecord::Base.descendants.each(&:reset_column_information)
Cache.clear Cache.clear