From 2b7771115059e8456fde7d7cd48a2dd4aa884d5f Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Mon, 4 Oct 2021 10:16:46 +0100 Subject: [PATCH] Maintenance: Add another reload to setup new js for core workflow. --- ...20211004111501_reload_after_core_workflow_again.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/20211004111501_reload_after_core_workflow_again.rb diff --git a/db/migrate/20211004111501_reload_after_core_workflow_again.rb b/db/migrate/20211004111501_reload_after_core_workflow_again.rb new file mode 100644 index 000000000..751d6693e --- /dev/null +++ b/db/migrate/20211004111501_reload_after_core_workflow_again.rb @@ -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