summaryrefslogtreecommitdiff
path: root/db/migrate/20111012121851_create_manufacturers.rb
blob: 0f8b1322dd55ae6f28e608632cf015de2014971d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateManufacturers < ActiveRecord::Migration
  def self.up
    create_table :manufacturers do |t|
      t.string :name
      t.string :ieee_name
      t.string :homepage_url
      t.string :state
      t.timestamps
    end
  end

  def self.down
    drop_table :manufacturers
  end
end