summaryrefslogtreecommitdiff
path: root/db/migrate/20120822094609_create_acd_callers.rb
blob: fd1d30c1d442a1d29bf8bc5c9f1597050795b61a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class CreateAcdCallers < ActiveRecord::Migration
  def self.up
    create_table :acd_callers do |t|
      t.string :channel_uuid
      t.integer :automatic_call_distributor_id
      t.string :status
      t.datetime :enter_time
      t.datetime :agent_answer_time
      t.string :callback_number
      t.integer :callback_attempts
      t.timestamps
    end
  end

  def self.down
    drop_table :acd_callers
  end
end