summaryrefslogtreecommitdiff
path: root/db/migrate/20130116133243_create_call_routes.rb
blob: c2d3f45739064fb227127ccae3265f9266a18c38 (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 :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