pwray
pwray

Reputation: 1125

Couchdb database-per-user design document management

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

Answers (1)

Alexis Côté
Alexis Côté

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

Related Questions