blob: eca8db213f77f3938e48d3d8fb7dd2370c87180e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
class CreateSipAccounts < ActiveRecord::Migration
def self.up
create_table :sip_accounts do |t|
t.string :sip_accountable_type
t.integer :sip_accountable_id
t.string :auth_name
t.string :caller_name
t.string :password
t.string :voicemail_pin
t.string :state
t.timestamps
end
end
def self.down
drop_table :sip_accounts
end
end
|