8a74e7d77f
Annotate: Better look in schema.rb, this reference should be always up to date. Hirb: To reactivate hirb, look in railscasts: http://railscasts.com/episodes/48-console-tricks-revised
83 lines
1.8 KiB
YAML
83 lines
1.8 KiB
YAML
# == Schema Information
|
|
<<<<<<< HEAD:test/fixtures/articles.yml
|
|
=======
|
|
# Schema version: 20090325175756
|
|
>>>>>>> wiki:test/fixtures/articles.yml
|
|
#
|
|
# Table name: articles
|
|
#
|
|
# id :integer(4) not null, primary key
|
|
# name :string(255) default(""), not null
|
|
# supplier_id :integer(4) default(0), not null
|
|
# article_category_id :integer(4) default(0), not null
|
|
# unit :string(255) default(""), not null
|
|
# note :string(255)
|
|
# availability :boolean(1) default(TRUE), not null
|
|
# manufacturer :string(255)
|
|
# origin :string(255)
|
|
# shared_updated_on :datetime
|
|
# price :decimal(8, 2)
|
|
# tax :float
|
|
# deposit :decimal(8, 2) default(0.0)
|
|
# unit_quantity :integer(4) default(1), not null
|
|
# order_number :string(255)
|
|
# created_at :datetime
|
|
# updated_at :datetime
|
|
# deleted_at :datetime
|
|
# type :string(255)
|
|
# quantity :integer(4) default(0)
|
|
#
|
|
|
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
banana:
|
|
supplier: terra
|
|
name: Banana
|
|
article_category: fruits
|
|
unit: KG
|
|
availability: true
|
|
note: delicious
|
|
origin: EC
|
|
price: 1.45
|
|
tax: 7.0
|
|
unit_quantity: 18
|
|
order_number: 123456
|
|
|
|
kiwi:
|
|
supplier: terra
|
|
name: Kiwi
|
|
article_category: fruits
|
|
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
|
|
unit: 500g
|
|
availability: true
|
|
origin: REG
|
|
price: 1.33
|
|
tax: 7.0
|
|
unit_quantity: 25
|
|
order_number: 123458
|
|
|
|
applejuice:
|
|
type: StockArticle
|
|
supplier: terra
|
|
name: Apple-juice
|
|
article_category: other
|
|
unit: 1L
|
|
price: 1.33
|
|
tax: 7.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|