46450cebef
Background: sqlite has some problems with decimal option.
51 lines
1 KiB
YAML
51 lines
1 KiB
YAML
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
|
|
banana1:
|
|
article: banana
|
|
price: 1.45
|
|
tax: 7.0
|
|
unit_quantity: 18
|
|
created_at: <%= Time.now.to_s(:db) %>
|
|
|
|
banana2:
|
|
article: banana
|
|
price: 1.35
|
|
tax: 7.0
|
|
unit_quantity: 18
|
|
created_at: <%= Time.now.to_s(:db) %>
|
|
|
|
kiwi1:
|
|
article: kiwi
|
|
price: 1.11
|
|
tax: 7.0
|
|
unit_quantity: 10
|
|
created_at: <%= Time.now.to_s(:db) %>
|
|
|
|
potatoe1:
|
|
article: potatoe
|
|
price: 1.33
|
|
tax: 7.0
|
|
unit_quantity: 25
|
|
created_at: <%= Time.now.to_s(:db) %>
|
|
|
|
applejuice1:
|
|
article: applejuice
|
|
price: 1.15
|
|
tax: 7.0
|
|
unit_quantity: 1
|
|
deposit: 0.15
|
|
created_at: <%= Time.now.to_s(:db) %>
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: article_prices
|
|
#
|
|
# id :integer(4) not null, primary key
|
|
# article_id :integer(4)
|
|
# price :decimal(8, 2) default(0.0), not null
|
|
# tax :decimal(8, 2) default(0.0), not null
|
|
# deposit :decimal(8, 2) default(0.0), not null
|
|
# unit_quantity :integer(4)
|
|
# created_at :datetime
|
|
#
|
|
|