summaryrefslogtreecommitdiff
path: root/db/migrate/20130603150455_create_pager_groups.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-03 17:09:57 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-03 17:09:57 +0200
commit21995072fb0e57c8209460936c0e5b322a1547c3 (patch)
treef2d7dbb02ac37f433cad1b2ecc1398f1f91bd189 /db/migrate/20130603150455_create_pager_groups.rb
parentcc6b71ffef4d781890cf7eef64ded71abb099a7f (diff)
PagerGroup stuff
Diffstat (limited to 'db/migrate/20130603150455_create_pager_groups.rb')
-rw-r--r--db/migrate/20130603150455_create_pager_groups.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20130603150455_create_pager_groups.rb b/db/migrate/20130603150455_create_pager_groups.rb
new file mode 100644
index 0000000..c8b2e46
--- /dev/null
+++ b/db/migrate/20130603150455_create_pager_groups.rb
@@ -0,0 +1,13 @@
+class CreatePagerGroups < ActiveRecord::Migration
+ def self.up
+ create_table :pager_groups do |t|
+ t.integer :sip_account_id
+ t.string :callback_url
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :pager_groups
+ end
+end