53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# == Schema Information
|
|
# Schema version: 20090115232435
|
|
#
|
|
# 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)
|
|
#
|
|
|
|
# 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
|
|
|