2021-09-29 14:18:47 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2021-09-30 12:19:08 +00:00
|
|
|
class ReloadAfterCoreWorkflow < ActiveRecord::Migration[6.0]
|
2021-09-29 14:18:47 +00:00
|
|
|
def up
|
|
|
|
|
|
|
|
# return if it's a new setup
|
|
|
|
return if !Setting.exists?(name: 'system_init_done')
|
|
|
|
|
|
|
|
AppVersion.set(true, 'app_version')
|
|
|
|
end
|
|
|
|
end
|