Added duration to tasks. Annotated all models.
This commit is contained in:
parent
face58ebef
commit
dcd2a514a6
30 changed files with 494 additions and 431 deletions
|
|
@ -1,13 +1,3 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: deliveries
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# supplier_id :integer
|
||||
# delivered_on :date
|
||||
# created_at :datetime
|
||||
#
|
||||
|
||||
class Delivery < ActiveRecord::Base
|
||||
|
||||
belongs_to :supplier
|
||||
|
|
@ -27,3 +17,15 @@ class Delivery < ActiveRecord::Base
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: deliveries
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# supplier_id :integer
|
||||
# delivered_on :date
|
||||
# created_at :datetime
|
||||
# note :text
|
||||
#
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue