diff options
Diffstat (limited to 'db/migrate/20120822094609_create_acd_callers.rb')
-rw-r--r-- | db/migrate/20120822094609_create_acd_callers.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/db/migrate/20120822094609_create_acd_callers.rb b/db/migrate/20120822094609_create_acd_callers.rb new file mode 100644 index 0000000..fd1d30c --- /dev/null +++ b/db/migrate/20120822094609_create_acd_callers.rb @@ -0,0 +1,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 |