Add possibility to add an attachment to an invoice #345

This commit is contained in:
Patrick Gansterer 2016-05-06 15:04:58 +02:00
parent 8d5467ab7c
commit 749791bb7a
14 changed files with 75 additions and 1 deletions

View file

@ -0,0 +1,6 @@
class AddAttachmentToInvoice < ActiveRecord::Migration
def change
add_column :invoices, :attachment_mime, :string
add_column :invoices, :attachment_data, :binary, :limit => 8.megabyte
end
end