summaryrefslogtreecommitdiff
path: root/db/migrate/20130116133243_create_call_routes.rb
blob: c2feda889f60109c57d5ade36a9539fbc52f3f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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