foodsoft/db/migrate/20160218151041_add_attachment_to_invoice.rb
2016-05-06 15:04:58 +02:00

6 lines
204 B
Ruby

class AddAttachmentToInvoice < ActiveRecord::Migration
def change
add_column :invoices, :attachment_mime, :string
add_column :invoices, :attachment_data, :binary, :limit => 8.megabyte
end
end