2020-08-07 01:14:14 +02:00
|
|
|
class AddAttachmentToInvoice < ActiveRecord::Migration[4.2]
|
2016-05-06 15:04:58 +02:00
|
|
|
def change
|
|
|
|
add_column :invoices, :attachment_mime, :string
|
2023-05-12 13:01:12 +02:00
|
|
|
add_column :invoices, :attachment_data, :binary, limit: 8.megabyte
|
2016-05-06 15:04:58 +02:00
|
|
|
end
|
|
|
|
end
|