Added an invoice comment field to the task to store what the comment was
This commit is contained in:
parent
9409686ddd
commit
c7d32e8611
11
stoptime.rb
11
stoptime.rb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue