Bernhard Hörmann created COUCHDB-1514:
-----------------------------------------
Summary: Add additional data to attachments
Key: COUCHDB-1514
URL: https://issues.apache.org/jira/browse/COUCHDB-1514
Project: CouchDB
Issue Type: Improvement
Components: Database Core
Affects Versions: 1.2
Reporter: Bernhard Hörmann
I suggest to add the possibility to store data in the _attachment object.
For example:
{"myImage.jpg"=>{"content_type"=>"image/jpeg", "stub"=>true,
"length"=>25898,"type":"teaser_image","uploader":"userXY","copyright":"artistXY"}}
Now, you need an additional object to store these information and you have to
keep it up to date (for example, if the _attachment is delete, etc.) by
yourself.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira