Fixes #3282 - Unable to upgrade from Zammad 3.3 to 3.6.

This commit is contained in:
Rolf Schmidt 2020-11-16 08:59:07 +01:00 committed by Thorsten Eckel
parent eda100425b
commit 81d804576b

View file

@ -5,7 +5,7 @@ class AgentCustomer < ActiveRecord::Migration[5.2]
Role.where(name: %w[Admin Agent Customer]).each do |role|
role.preferences.delete(:not)
role.save!
role.update_column(:preferences, role.preferences) # rubocop:disable Rails/SkipsModelValidations
end
move_filter