summaryrefslogtreecommitdiff
path: root/db/migrate/20130322081621_create_voicemail_accounts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20130322081621_create_voicemail_accounts.rb')
-rw-r--r--db/migrate/20130322081621_create_voicemail_accounts.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/db/migrate/20130322081621_create_voicemail_accounts.rb b/db/migrate/20130322081621_create_voicemail_accounts.rb
new file mode 100644
index 0000000..8567adb
--- /dev/null
+++ b/db/migrate/20130322081621_create_voicemail_accounts.rb
@@ -0,0 +1,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