causes problems depending on authentication/authorization
accessing design docs requires fairly elevated permissions (admin), there are probably better ways to test access to the db anyway...
This commit is contained in:
parent
69fe408d5e
commit
2640b7014b
|
@ -63,8 +63,8 @@
|
||||||
"verifies that the required databases are present, creating them if they
|
"verifies that the required databases are present, creating them if they
|
||||||
are not there (including the views)."
|
are not there (including the views)."
|
||||||
[]
|
[]
|
||||||
(couch/get-database (get-users-db))
|
#_(couch/get-database (get-users-db))
|
||||||
(when (couch/get-database (get-files-db))
|
#_(when (couch/get-database (get-files-db))
|
||||||
(touch-design-doc (get-files-db) "_design/files" "couchdb/design_docs/files.js"))
|
(touch-design-doc (get-files-db) "_design/files" "couchdb/design_docs/files.js"))
|
||||||
(when (couch/get-database (get-posts-db))
|
#_(when (couch/get-database (get-posts-db))
|
||||||
(touch-design-doc (get-posts-db) "_design/posts" "couchdb/design_docs/posts.js")))
|
(touch-design-doc (get-posts-db) "_design/posts" "couchdb/design_docs/posts.js")))
|
||||||
|
|
Reference in a new issue