summaryrefslogtreecommitdiff
path: root/db/migrate/20130116133243_create_call_routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20130116133243_create_call_routes.rb')
-rw-r--r--db/migrate/20130116133243_create_call_routes.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20130116133243_create_call_routes.rb b/db/migrate/20130116133243_create_call_routes.rb
new file mode 100644
index 0000000..c2feda8
--- /dev/null
+++ b/db/migrate/20130116133243_create_call_routes.rb
@@ -0,0 +1,16 @@
+class CreateCallRoutes < ActiveRecord::Migration
+ def self.up
+ create_table :call_routes do |t|
+ t.string :routing_table
+ t.string :name
+ t.string :endpoint_type
+ t.integer :endpoint_id
+ t.integer :position
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :call_routes
+ end
+end