summaryrefslogtreecommitdiff
path: root/db/migrate/20111228194037_create_phone_sip_accounts.rb
blob: 7fd5e39f41c9770e64a6bdc20f4c938dea794386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreatePhoneSipAccounts < ActiveRecord::Migration
  def self.up
    create_table :phone_sip_accounts do |t|
      t.integer :phone_id
      t.integer :sip_account_id
      t.integer :position
      t.timestamps
    end
  end

  def self.down
    drop_table :phone_sip_accounts
  end
end