summaryrefslogtreecommitdiff
path: root/db/migrate/20111123124113_create_phone_number_ranges.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20111123124113_create_phone_number_ranges.rb')
-rw-r--r--db/migrate/20111123124113_create_phone_number_ranges.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20111123124113_create_phone_number_ranges.rb b/db/migrate/20111123124113_create_phone_number_ranges.rb
new file mode 100644
index 0000000..e20014b
--- /dev/null
+++ b/db/migrate/20111123124113_create_phone_number_ranges.rb
@@ -0,0 +1,14 @@
+class CreatePhoneNumberRanges < ActiveRecord::Migration
+ def self.up
+ create_table :phone_number_ranges do |t|
+ t.integer :tenant_id
+ t.string :name
+ t.text :description
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :phone_number_ranges
+ end
+end