summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-01-16 08:33:45 -0500
committerPeter Kozak <spag@golwen.net>2013-01-16 08:33:45 -0500
commit113e3c6c6117fbeca7b9bf1f0e6dc26b0db9c407 (patch)
treeaca6e293b1e9ce855bef23954dd59ab4e3c5b32c /db
parent076a5fa7b4b6d16281eb7d510ff8e7e21154caf9 (diff)
call_routes added
Diffstat (limited to 'db')
-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..c2d3f45
--- /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 :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