Reputation: 1125
I am evaluating Couchdb for a web application where there would be many users. If I use the database-per-user model, presumably the design documents in every database will all be identical. I have not found any mention of 'global' design documents acting upon multiple databases, or of any tools to make it easy to change the design docs across all user databases. How is this handled?
Upvotes: 5
Views: 305
Reputation: 3690
You can setup continuous replication between a template database that contains all your design documents. So whenever you change the template database, user's database gets updated.
Upvotes: 5