2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-10-27 09:38:45 +00:00
|
|
|
|
|
|
|
class SlaAddResponseTime < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
return if !Setting.exists?(name: 'system_init_done')
|
|
|
|
|
|
|
|
change_table :slas do |t|
|
|
|
|
t.integer :response_time
|
|
|
|
end
|
|
|
|
|
|
|
|
Sla.reset_column_information
|
|
|
|
end
|
|
|
|
end
|