foodsoft/test/fixtures/articles.yml

63 lines
1.6 KiB
YAML
Raw Normal View History

# == Schema Information
# Schema version: 20090120184410
#
# Table name: articles
#
# id :integer not null, primary key
# name :string(255) default(""), not null
# supplier_id :integer default(0), not null
# article_category_id :integer default(0), not null
# unit :string(255) default(""), not null
# note :string(255)
# availability :boolean default(TRUE), not null
# manufacturer :string(255)
# origin :string(255)
# shared_updated_on :datetime
# price :decimal(, )
# tax :float
# deposit :decimal(, ) default(0.0)
# unit_quantity :integer default(1), not null
# order_number :string(255)
# created_at :datetime
# updated_at :datetime
# quantity :decimal(, ) default(0.0)
# deleted_at :datetime
# type :string(255)
#
2009-01-06 11:49:19 +01:00
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
banana:
supplier: terra
name: Banana
article_category: fruits
unit: KG
availability: true
2009-01-06 11:49:19 +01:00
note: delicious
origin: EC
price: 1.45
tax: 7.0
unit_quantity: 18
order_number: 123456
2009-01-06 11:49:19 +01:00
kiwi:
supplier: terra
name: Kiwi
article_category: fruits
2009-01-06 11:49:19 +01:00
unit: 500g
availability: true
origin: IT
price: 1.11
tax: 7.0
unit_quantity: 10
order_number: 123457
potatoe:
supplier: terra
name: Potatoe
article_category: vegi
2009-01-06 11:49:19 +01:00
unit: 500g
availability: true
origin: REG
price: 1.33
tax: 7.0
unit_quantity: 25
order_number: 123458