trabajo-afectivo/db/migrate/20210614063039_sla_add_response_time.rb

14 lines
317 B
Ruby
Raw Normal View History

2022-01-01 13:38:12 +00:00
# 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