2014-12-04 19:50:02 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: products
|
|
|
|
#
|
2014-12-04 20:32:31 +01:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# name :string(255)
|
2014-12-08 17:56:48 +01:00
|
|
|
# price :integer
|
2014-12-04 20:32:31 +01:00
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
# avatar_file_name :string(255)
|
|
|
|
# avatar_content_type :string(255)
|
|
|
|
# avatar_file_size :integer
|
|
|
|
# avatar_updated_at :datetime
|
2014-12-10 21:25:21 +01:00
|
|
|
# category :integer default(0)
|
2014-12-04 19:50:02 +01:00
|
|
|
#
|
|
|
|
|
2014-11-24 21:45:32 +01:00
|
|
|
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
|
|
|
|
one:
|
|
|
|
name: MyString
|
|
|
|
purchase_price: 1
|
|
|
|
sale_price: 1
|
|
|
|
img_path: MyString
|
|
|
|
|
|
|
|
two:
|
|
|
|
name: MyString
|
|
|
|
purchase_price: 1
|
|
|
|
sale_price: 1
|
|
|
|
img_path: MyString
|