2014-12-04 18:50:02 +00:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: products
|
|
|
|
#
|
2014-12-04 19:32:31 +00:00
|
|
|
# id :integer not null, primary key
|
2015-03-19 15:22:55 +00:00
|
|
|
# name :string not null
|
|
|
|
# price_cents :integer default("0"), not null
|
2015-02-09 16:06:24 +00:00
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
2015-03-19 15:22:55 +00:00
|
|
|
# avatar_file_name :string
|
|
|
|
# avatar_content_type :string
|
|
|
|
# avatar_file_size :integer
|
|
|
|
# avatar_updated_at :datetime
|
|
|
|
# category :integer default("0")
|
|
|
|
# stock :integer default("0"), not null
|
2014-12-04 18:50:02 +00:00
|
|
|
#
|
|
|
|
|
2014-11-24 20:45:32 +00:00
|
|
|
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
|
2015-03-03 14:56:23 +00:00
|
|
|
fanta:
|
2015-03-09 12:17:41 +00:00
|
|
|
id: 1
|
|
|
|
name: 'Fanta'
|
2015-03-03 14:56:23 +00:00
|
|
|
price_cents: 60
|
2015-03-09 12:17:41 +00:00
|
|
|
stock: 100
|
2014-11-24 20:45:32 +00:00
|
|
|
|
2015-03-03 14:56:23 +00:00
|
|
|
cola:
|
2015-03-09 12:17:41 +00:00
|
|
|
id: 2
|
|
|
|
name: 'Cola'
|
2015-03-03 14:56:23 +00:00
|
|
|
price_cents: 60
|
2015-03-09 12:17:41 +00:00
|
|
|
stock: 0
|
2015-03-03 14:56:23 +00:00
|
|
|
|
|
|
|
mate:
|
2015-03-09 12:17:41 +00:00
|
|
|
id: 3
|
|
|
|
name: 'Club Mate'
|
2015-03-03 14:56:23 +00:00
|
|
|
price_cents: 120
|
2015-03-09 12:17:41 +00:00
|
|
|
stock: 100
|
2015-03-03 14:56:23 +00:00
|
|
|
|
|
|
|
bueno:
|
2015-03-09 12:17:41 +00:00
|
|
|
id: 4
|
|
|
|
name: 'Kinder Bueno'
|
|
|
|
stock: 50
|
2015-03-03 14:56:23 +00:00
|
|
|
price_cents: 120
|