20210614063039_sla_add_response_time.rb 317 B

12345678910111213
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class SlaAddResponseTime < ActiveRecord::Migration[5.2]
  3. def change
  4. return if !Setting.exists?(name: 'system_init_done')
  5. change_table :slas do |t|
  6. t.integer :response_time
  7. end
  8. Sla.reset_column_information
  9. end
  10. end