Fixes #3282 - Unable to upgrade from Zammad 3.3 to 3.6.
This commit is contained in:
parent
eda100425b
commit
81d804576b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue