From b80bd744ad873f6fc43018bc4bfb90677de167bd Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 17 Dec 2012 12:01:45 +0100 Subject: Start of GS5. --- db/migrate/20120822124716_create_acd_agents.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 db/migrate/20120822124716_create_acd_agents.rb (limited to 'db/migrate/20120822124716_create_acd_agents.rb') diff --git a/db/migrate/20120822124716_create_acd_agents.rb b/db/migrate/20120822124716_create_acd_agents.rb new file mode 100644 index 0000000..bfd1ab6 --- /dev/null +++ b/db/migrate/20120822124716_create_acd_agents.rb @@ -0,0 +1,19 @@ +class CreateAcdAgents < ActiveRecord::Migration + def self.up + create_table :acd_agents do |t| + t.string :uuid + t.string :name + t.string :status + t.integer :automatic_call_distributor_id + t.datetime :last_call + t.integer :calls_answered + t.string :destination_type + t.integer :destination_id + t.timestamps + end + end + + def self.down + drop_table :acd_agents + end +end -- cgit v1.2.3