diff --git a/db/migrate/20210929161701_reload_after_core_workflow.rb b/db/migrate/20210929161701_reload_after_core_workflow.rb new file mode 100644 index 000000000..a936e3653 --- /dev/null +++ b/db/migrate/20210929161701_reload_after_core_workflow.rb @@ -0,0 +1,11 @@ +# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ + +class ReloadAfterCoreWorkflow < ActiveRecord::Migration[4.2] + def up + + # return if it's a new setup + return if !Setting.exists?(name: 'system_init_done') + + AppVersion.set(true, 'app_version') + end +end