The attachments package lets us define additionalColumns
when we define our attachment schema.
When we save an attachment in the AbstractAttachmentQueue
using the saveToQueue
method, passing along the any additional columns as part of the attachmentRecord, it does not save these additional columns, I think this is a bit unexpected.
A work around I think will work is to take the record returned by saveToQueue
and perform an update, however this is a bit inefficient, and I think it would be clearer to save any additional columns provided to saveToQueue