summaryrefslogtreecommitdiff
path: root/users/app/designs
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/designs')
-rw-r--r--users/app/designs/user/by_created_at_and_one_month_warning_not_sent.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/app/designs/user/by_created_at_and_one_month_warning_not_sent.js b/users/app/designs/user/by_created_at_and_one_month_warning_not_sent.js
new file mode 100644
index 0000000..53a95de
--- /dev/null
+++ b/users/app/designs/user/by_created_at_and_one_month_warning_not_sent.js
@@ -0,0 +1,5 @@
+function (doc) {
+ if ((doc['type'] == 'User') && (doc['created_at'] != null) && (doc['one_month_warning_sent'] == null)) {
+ emit(doc['created_at'], 1);
+ }
+}