Skip to content

How to create a partitioned database when using couch_peruser option? #3457

Answered by skeyby
sembel asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the automatic creation is just a trigger when a new org.couchdb.user is created, you can do whatever you want with the db later.

Just remember to apply the correct permission if you drop it and recreate it.

My personal suggestion, from experience, is to leave the automatic creation off (you may also find different reports about creations getting skipped in various circumstances) and have your application create the user db on it's own when it's needed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sembel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants