2009-01-08 16:33:27 +01:00
|
|
|
# == Schema Information
|
2009-01-20 19:37:15 +01:00
|
|
|
# Schema version: 20090119155930
|
2009-01-08 16:33:27 +01:00
|
|
|
#
|
|
|
|
# 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)
|
|
|
|
#
|
|
|
|
|
2009-01-06 11:49:19 +01:00
|
|
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
|
|
banana:
|
|
|
|
id: 1
|
|
|
|
name: banana
|
|
|
|
current_price_id: 1
|
|
|
|
unit: 500g
|
|
|
|
availability: 1
|
|
|
|
note: delicious
|
|
|
|
supplier_id: 1
|
|
|
|
article_category_id: 1
|
|
|
|
kiwi:
|
|
|
|
id: 2
|
|
|
|
name: kiwi
|
|
|
|
current_price_id: 2
|
|
|
|
unit: 500g
|
|
|
|
availability: 1
|
|
|
|
note: delicious
|
|
|
|
supplier_id: 1
|
|
|
|
article_category_id: 1
|
|
|
|
apple:
|
|
|
|
id: 3
|
|
|
|
name: apple
|
|
|
|
current_price_id: 3
|
|
|
|
unit: 500g
|
|
|
|
availability: 0
|
|
|
|
note: delicious
|
|
|
|
supplier_id: 1
|
|
|
|
article_category_id: 1
|
|
|
|
|