Fixes #3759 - Login failed after upgrade to zammad 5.0.
This commit is contained in:
parent
3de9fc84aa
commit
8da05162ee
2 changed files with 10 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
class Issue3751MissingWorkflowScreens < ActiveRecord::Migration[5.2]
|
||||
class Issue3751MissingWorkflowScreens < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
return if !Setting.exists?(name: 'system_init_done')
|
||||
|
||||
|
|
9
db/migrate/20210922090000_issue_3759_cache_clear.rb
Normal file
9
db/migrate/20210922090000_issue_3759_cache_clear.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
class Issue3759CacheClear < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
return if !Setting.exists?(name: 'system_init_done')
|
||||
|
||||
Cache.clear
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue