summaryrefslogtreecommitdiff
path: root/db/migrate/20111106082100_create_fifo_callers.rb
blob: 084e811ca8824d48c740bcb8fbf791444eda83cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateFifoCallers < ActiveRecord::Migration
  def self.up
    create_table :fifo_callers, :id => false do |t|
      t.string  :fifo_name,               :limit => '255', :null => false
      t.string  :uuid,                    :limit => '255', :null => false
      t.string  :caller_caller_id_name,   :limit => '255'
      t.string  :caller_caller_id_number, :limit => '255'
      t.integer :timestamp
    end
  end

  def self.down
    drop_table :fifo_callers
  end
end