summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/files/designs/customers.json
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_couchdb/files/designs/customers.json')
-rw-r--r--puppet/modules/site_couchdb/files/designs/customers.json18
1 files changed, 0 insertions, 18 deletions
diff --git a/puppet/modules/site_couchdb/files/designs/customers.json b/puppet/modules/site_couchdb/files/designs/customers.json
deleted file mode 100644
index 1b4bbddd..00000000
--- a/puppet/modules/site_couchdb/files/designs/customers.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "_id": "_design/Customer",
- "language": "javascript",
- "views": {
- "by_user_id": {
- "map": " function(doc) {\n if ((doc['type'] == 'Customer') && (doc['user_id'] != null)) {\n emit(doc['user_id'], 1);\n }\n }\n",
- "reduce": "_sum"
- },
- "by_braintree_customer_id": {
- "map": " function(doc) {\n if ((doc['type'] == 'Customer') && (doc['braintree_customer_id'] != null)) {\n emit(doc['braintree_customer_id'], 1);\n }\n }\n",
- "reduce": "_sum"
- },
- "all": {
- "map": " function(doc) {\n if (doc['type'] == 'Customer') {\n emit(doc._id, null);\n }\n }\n"
- }
- },
- "couchrest-hash": "688c401ec0230b75625c176a88fc4a02"
-} \ No newline at end of file