summaryrefslogtreecommitdiff
path: root/db/migrate/20120126090831_create_callthroughs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120126090831_create_callthroughs.rb')
-rw-r--r--db/migrate/20120126090831_create_callthroughs.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20120126090831_create_callthroughs.rb b/db/migrate/20120126090831_create_callthroughs.rb
new file mode 100644
index 0000000..e7d146e
--- /dev/null
+++ b/db/migrate/20120126090831_create_callthroughs.rb
@@ -0,0 +1,15 @@
+class CreateCallthroughs < ActiveRecord::Migration
+ def self.up
+ create_table :callthroughs do |t|
+ t.integer :tenant_id
+ t.string :name
+ t.integer :sip_account_id
+ t.string :clip_no_screening
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :callthroughs
+ end
+end