trabajo-afectivo/db/migrate/20210614063039_sla_add_response_time.rb
2022-01-01 14:38:12 +01:00

13 lines
317 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
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