Is it possible to add additional info about an attachment to a document?
For example, if images may be uploaded to a document and you want to know
which user uploaded which attachment.
I have this in my CouchDB:
"_attachments": {
"blah.png": {
"content_type": "image/png",
"revpos": 3,
"digest": "md5-UesBCc6fFHHPxYyIy+fGXA==",
"length": 97709,
"stub": true
}
}
And I tried to edit it in Futon and put an additional attribute "user" :
"username" into it but the change didn't take effect, I confirmed this by
polling the info after saving it.
Any suggestions on the right approach to do this?