I have a CouchDb instance running a peruser database configuration.
Each user database generated (when a user is added to the _users
database) needs to have the same design documents with view/list logic etc.
What is the defacto way to add the design documents to the database upon database creation? Is it simply to add them after a successful user creation request? Or is there a more elegant way of doing this in CouchDb?