summaryrefslogtreecommitdiff
path: root/couchdb_recreate_dbs.sh
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-11-27 10:45:10 -0500
committerMicah Anderson <micah@riseup.net>2013-11-27 10:45:10 -0500
commitddccc20f2f1ed366995ce9fadc4ec5ae8a193590 (patch)
treeae8bebb8cf03f5b41ab1ffb364032eadba7c50af /couchdb_recreate_dbs.sh
parentfd4b9eaa87a947789b5a1e639bac05199cc4ee79 (diff)
change parsing of design documents to work with a layout that would allow for a naming scheme where the directory name is the database name, and the file name is the design doc name:
eg. users/User.json should end up in users/_design/User This will allow us to use different design docs per database for different purposes. eg. users/_design/User for the data schema and views and users/_design/write_restricted for validations that prevent certain couch users from writing and users/_design/filters for filters that filter the changes stream for things like tapicero to only receive the relevant changes.
Diffstat (limited to 'couchdb_recreate_dbs.sh')
0 files changed, 0 insertions, 0 deletions