Fixed typo.

This commit is contained in:
Thorsten Eckel 2016-02-04 14:35:05 +01:00
parent 673716f2e5
commit 234407e7d0
4 changed files with 8 additions and 3 deletions

View file

@ -38,7 +38,7 @@ class Ticket < ApplicationModel
close_time_in_min: true, close_time_in_min: true,
close_time_diff_in_min: true, close_time_diff_in_min: true,
update_time_escal_date: true, update_time_escal_date: true,
updtate_time_sla_time: true, update_time_sla_time: true,
update_time_in_min: true, update_time_in_min: true,
update_time_diff_in_min: true, update_time_diff_in_min: true,
last_contact: true, last_contact: true,

View file

@ -51,7 +51,7 @@ class CreateTicket < ActiveRecord::Migration
t.column :close_time_in_min, :integer, null: true t.column :close_time_in_min, :integer, null: true
t.column :close_time_diff_in_min, :integer, null: true t.column :close_time_diff_in_min, :integer, null: true
t.column :update_time_escal_date, :timestamp, null: true t.column :update_time_escal_date, :timestamp, null: true
t.column :updtate_time_sla_time, :timestamp, null: true t.column :update_time_sla_time, :timestamp, null: true
t.column :update_time_in_min, :integer, null: true t.column :update_time_in_min, :integer, null: true
t.column :update_time_diff_in_min, :integer, null: true t.column :update_time_diff_in_min, :integer, null: true
t.column :last_contact, :timestamp, null: true t.column :last_contact, :timestamp, null: true

View file

@ -0,0 +1,5 @@
class UpdtateTimeSlaTime < ActiveRecord::Migration
def up
rename_column :tickets, :updtate_time_sla_time, :update_time_sla_time
end
end

View file

@ -447,7 +447,7 @@ class ZendeskImportTest < ActiveSupport::TestCase
close_time_in_min close_time_in_min
close_time_diff_in_min close_time_diff_in_min
update_time_escal_date update_time_escal_date
updtate_time_sla_time update_time_sla_time
update_time_in_min update_time_in_min
update_time_diff_in_min update_time_diff_in_min
last_contact last_contact