diff options
Diffstat (limited to 'db/migrate/20111012143922_create_phone_models.rb')
-rw-r--r-- | db/migrate/20111012143922_create_phone_models.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20111012143922_create_phone_models.rb b/db/migrate/20111012143922_create_phone_models.rb new file mode 100644 index 0000000..50221c0 --- /dev/null +++ b/db/migrate/20111012143922_create_phone_models.rb @@ -0,0 +1,15 @@ +class CreatePhoneModels < ActiveRecord::Migration + def self.up + create_table :phone_models do |t| + t.string :name + t.string :manufacturer_id + t.string :product_manual_homepage_url + t.string :product_homepage_url + t.timestamps + end + end + + def self.down + drop_table :phone_models + end +end |