6 lines
209 B
Ruby
6 lines
209 B
Ruby
class AddAttachmentToInvoice < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :invoices, :attachment_mime, :string
|
|
add_column :invoices, :attachment_data, :binary, :limit => 8.megabyte
|
|
end
|
|
end
|