summaryrefslogtreecommitdiff
path: root/db/migrate/20111012143922_create_phone_models.rb
blob: 50221c0dc6391d653c2a921c3db6f42df21f766c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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