tap/db/migrate/20141110141100_create_products.rb
2014-11-10 15:52:54 +01:00

13 lines
261 B
Ruby

class CreateProducts < ActiveRecord::Migration
def change
create_table :products do |t|
t.string :name
t.integer :sale_price
t.integer :purchase_price
t.string :image_path
t.string :type
t.timestamps
end
end
end