Added an invoice comment field to the task to store what the comment was

This commit is contained in:
Paul van Tilburg 2011-12-02 22:15:58 +01:00
parent 9409686ddd
commit c7d32e8611
1 changed files with 11 additions and 0 deletions

View File

@ -113,6 +113,7 @@ module StopTime::Models
# [name] description (String)
# [fixed_cost] fixed cost of the task (Float)
# [hourly_rate] hourly rate for the task (Float)
# [invoice_comment] extra comment for the invoice (String)
# [created_at] time of creation (Time)
# [updated_at] time of last update (Time)
#
@ -447,6 +448,16 @@ module StopTime::Models
end
end
class InvoiceCommentsSupport < V 1.91 # :nodoc:
def self.up
add_column(Task.table_name, :invoice_comment, :string)
end
def self.down
remove_column(Task.table_name, :invoice_comment)
end
end
end # StopTime::Models
# = The Stop… Camping Time! controllers