20230825150332_issue_4657_time_accounting_selector.rb 412 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Issue4657TimeAccountingSelector < ActiveRecord::Migration[6.1]
  3. def change
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. Setting
  7. .find_by(name: 'time_accounting_selector')
  8. .update!(description: 'Show time accounting dialog when updating matching tickets.')
  9. end
  10. end