2009-08-15 17:24:08 +02:00
|
|
|
# == Schema Information
|
|
|
|
<<<<<<< HEAD:test/fixtures/articles.yml
|
|
|
|
=======
|
|
|
|
# Schema version: 20090325175756
|
|
|
|
>>>>>>> wiki:test/fixtures/articles.yml
|
|
|
|
#
|
|
|
|
# Table name: articles
|
|
|
|
#
|
2009-08-01 13:41:22 +02:00
|
|
|
# id :integer(4) not null, primary key
|
2009-01-29 01:57:51 +01:00
|
|
|
# name :string(255) default(""), not null
|
2009-08-01 13:41:22 +02:00
|
|
|
# supplier_id :integer(4) default(0), not null
|
|
|
|
# article_category_id :integer(4) default(0), not null
|
2009-01-29 01:57:51 +01:00
|
|
|
# unit :string(255) default(""), not null
|
|
|
|
# note :string(255)
|
2009-08-01 13:41:22 +02:00
|
|
|
# availability :boolean(1) default(TRUE), not null
|
2009-01-29 01:57:51 +01:00
|
|
|
# manufacturer :string(255)
|
|
|
|
# origin :string(255)
|
|
|
|
# shared_updated_on :datetime
|
2009-08-01 13:41:22 +02:00
|
|
|
# price :decimal(8, 2)
|
2009-01-29 01:57:51 +01:00
|
|
|
# tax :float
|
2009-08-01 13:41:22 +02:00
|
|
|
# deposit :decimal(8, 2) default(0.0)
|
|
|
|
# unit_quantity :integer(4) default(1), not null
|
2009-01-29 01:57:51 +01:00
|
|
|
# order_number :string(255)
|
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
# deleted_at :datetime
|
2009-02-06 16:26:35 +01:00
|
|
|
# type :string(255)
|
2009-08-01 13:41:22 +02:00
|
|
|
# quantity :integer(4) default(0)
|
2009-01-08 16:33:27 +01:00
|
|
|
#
|
|
|
|
|
2009-01-06 11:49:19 +01:00
|
|
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
|
|
banana:
|
2009-02-02 16:35:43 +01:00
|
|
|
supplier: terra
|
|
|
|
name: Banana
|
|
|
|
article_category: fruits
|
|
|
|
unit: KG
|
|
|
|
availability: true
|
2009-01-06 11:49:19 +01:00
|
|
|
note: delicious
|
2009-02-02 16:35:43 +01:00
|
|
|
origin: EC
|
|
|
|
price: 1.45
|
|
|
|
tax: 7.0
|
|
|
|
unit_quantity: 18
|
|
|
|
order_number: 123456
|
2009-02-06 17:06:08 +01:00
|
|
|
|
2009-01-06 11:49:19 +01:00
|
|
|
kiwi:
|
2009-02-02 16:35:43 +01:00
|
|
|
supplier: terra
|
|
|
|
name: Kiwi
|
|
|
|
article_category: fruits
|
2009-01-06 11:49:19 +01:00
|
|
|
unit: 500g
|
2009-02-02 16:35:43 +01:00
|
|
|
availability: true
|
|
|
|
origin: IT
|
|
|
|
price: 1.11
|
|
|
|
tax: 7.0
|
|
|
|
unit_quantity: 10
|
|
|
|
order_number: 123457
|
2009-02-06 17:06:08 +01:00
|
|
|
|
2009-02-02 16:35:43 +01:00
|
|
|
potatoe:
|
|
|
|
supplier: terra
|
|
|
|
name: Potatoe
|
|
|
|
article_category: vegi
|
2009-01-06 11:49:19 +01:00
|
|
|
unit: 500g
|
2009-02-02 16:35:43 +01:00
|
|
|
availability: true
|
|
|
|
origin: REG
|
|
|
|
price: 1.33
|
|
|
|
tax: 7.0
|
|
|
|
unit_quantity: 25
|
|
|
|
order_number: 123458
|
2009-02-06 17:06:08 +01:00
|
|
|
|
|
|
|
applejuice:
|
|
|
|
type: StockArticle
|
|
|
|
supplier: terra
|
|
|
|
name: Apple-juice
|
|
|
|
article_category: other
|
|
|
|
unit: 1L
|
|
|
|
price: 1.33
|
|
|
|
tax: 7.0
|
2011-05-07 20:50:39 +02:00
|
|
|
|
|
|
|
|
2011-05-07 21:54:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-07 21:55:24 +02:00
|
|
|
|
2011-05-07 20:50:39 +02:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: articles
|
|
|
|
#
|
|
|
|
# id :integer(4) not null, primary key
|
|
|
|
# name :string(255) not null
|
|
|
|
# supplier_id :integer(4) not null
|
|
|
|
# number :string(255)
|
|
|
|
# note :string(255)
|
|
|
|
# manufacturer :string(255)
|
|
|
|
# origin :string(255)
|
|
|
|
# unit :string(255)
|
|
|
|
# price :decimal(8, 2) default(0.0), not null
|
|
|
|
# tax :decimal(3, 1) default(7.0), not null
|
|
|
|
# deposit :decimal(8, 2) default(0.0), not null
|
|
|
|
# unit_quantity :decimal(4, 1) default(1.0), not null
|
|
|
|
# scale_quantity :decimal(4, 2)
|
|
|
|
# scale_price :decimal(8, 2)
|
|
|
|
# created_on :datetime
|
|
|
|
# updated_on :datetime
|
|
|
|
# list :string(255)
|
|
|
|
#
|
|
|
|
|