summaryrefslogtreecommitdiff
path: root/db/migrate/20111009202500_create_countries.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20111009202500_create_countries.rb')
-rw-r--r--db/migrate/20111009202500_create_countries.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20111009202500_create_countries.rb b/db/migrate/20111009202500_create_countries.rb
new file mode 100644
index 0000000..d22fb42
--- /dev/null
+++ b/db/migrate/20111009202500_create_countries.rb
@@ -0,0 +1,12 @@
+class CreateCountries < ActiveRecord::Migration
+ def change
+ create_table :countries do |t|
+ t.string :name
+ t.string :country_code
+ t.string :international_call_prefix
+ t.string :trunk_prefix
+
+ t.timestamps
+ end
+ end
+end