Add the new dtmf/mf migration - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 47f712b0bd89489db20618725705da6a4ce7fabf
DIR parent 324c0888b6ffda7e6b9382260477686f6202c4c5
HTML Author: HD Moore <hd_moore@rapid7.com>
Date: Tue, 26 May 2009 03:34:10 +0000
Add the new dtmf/mf migration
Diffstat:
A web/db/migrate/20090526031826_add_… | 11 +++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
---
DIR diff --git a/web/db/migrate/20090526031826_add_mf_and_dtmf_to_dial_results.rb b/web/db/migrate/20090526031826_add_mf_and_dtmf_to_dial_results.rb
@@ -0,0 +1,11 @@
+class AddMfAndDtmfToDialResults < ActiveRecord::Migration
+ def self.up
+ add_column :dial_results, :dtmf, :string
+ add_column :dial_results, :mf, :string
+ end
+
+ def self.down
+ remove_column :dial_results, :dtmf
+ remove_column :dial_results, :mf
+ end
+end