2009-01-08 16:33:27 +01:00
|
|
|
# == Schema Information
|
|
|
|
# Schema version: 20090102171850
|
|
|
|
#
|
|
|
|
# Table name: orders
|
|
|
|
#
|
|
|
|
# id :integer(4) not null, primary key
|
|
|
|
# name :string(255) default(""), not null
|
|
|
|
# supplier_id :integer(4) default(0), not null
|
|
|
|
# starts :datetime not null
|
|
|
|
# ends :datetime
|
|
|
|
# note :string(255)
|
|
|
|
# finished :boolean(1) not null
|
|
|
|
# booked :boolean(1) not null
|
|
|
|
# lock_version :integer(4) default(0), not null
|
|
|
|
# updated_by_user_id :integer(4)
|
|
|
|
# invoice_amount :decimal(8, 2) default(0.0), not null
|
|
|
|
# deposit :decimal(8, 2) default(0.0)
|
|
|
|
# deposit_credit :decimal(8, 2) default(0.0)
|
|
|
|
# invoice_number :string(255)
|
|
|
|
# invoice_date :string(255)
|
|
|
|
#
|
|
|
|
|
2009-01-06 11:49:19 +01:00
|
|
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
|
|
first:
|
|
|
|
id: 1
|
|
|
|
another:
|
|
|
|
id: 2
|