Maintenance: Add another reload to setup new js for core workflow.

This commit is contained in:
Rolf Schmidt 2021-10-04 10:16:46 +01:00 committed by Thorsten Eckel
parent ca6e510ed4
commit 798d45b299

View file

@ -0,0 +1,11 @@
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
class ReloadAfterCoreWorkflowAgain < ActiveRecord::Migration[6.0]
def up
# return if it's a new setup
return if !Setting.exists?(name: 'system_init_done')
AppVersion.set(true, 'app_version')
end
end