summaryrefslogtreecommitdiff
path: root/db/migrate/20130326064557_create_voicemail_settings.rb
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-26 15:51:35 +0100
committerPeter Kozak <spag@golwen.net>2013-03-26 15:51:35 +0100
commit3833ac1506fb336cd617ec41d25e35c34e74064e (patch)
tree7f865a6529ae42a7e878b34eca8f99b7e65575f2 /db/migrate/20130326064557_create_voicemail_settings.rb
parent78948fc995786dcd1beae8e98573ec8ccba3ae9d (diff)
voicemail refactored
Diffstat (limited to 'db/migrate/20130326064557_create_voicemail_settings.rb')
-rw-r--r--db/migrate/20130326064557_create_voicemail_settings.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20130326064557_create_voicemail_settings.rb b/db/migrate/20130326064557_create_voicemail_settings.rb
new file mode 100644
index 0000000..45b6573
--- /dev/null
+++ b/db/migrate/20130326064557_create_voicemail_settings.rb
@@ -0,0 +1,16 @@
+class CreateVoicemailSettings < ActiveRecord::Migration
+ def self.up
+ create_table :voicemail_settings do |t|
+ t.integer :voicemail_account_id
+ t.string :name
+ t.string :value
+ t.string :class_type
+ t.string :description
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :voicemail_settings
+ end
+end