summaryrefslogtreecommitdiff
path: root/db/migrate/20130322081621_create_voicemail_accounts.rb
blob: 8567adb825b67cacf24db0004b6d6df4198a7a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class CreateVoicemailAccounts < ActiveRecord::Migration
  def self.up
    create_table :voicemail_accounts do |t|
      t.string :uuid
      t.string :name
      t.boolean :active
      t.integer :gs_node_id
      t.string :voicemail_accountable_type
      t.integer :voicemail_accountable_id
      t.timestamps
    end
  end

  def self.down
    drop_table :voicemail_accounts
  end
end