summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/sql/users/mailshotsent.sql
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-03 21:02:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-03 21:02:24 +0000
commit24755d651561a20e0ec90b90dc6f0d1ca6c0eb49 (patch)
tree9676d565290110207eab8970769fd3130e61a90f /gentoobrowse-api/service/sql/users/mailshotsent.sql
parentIntroduce to mock mail server (diff)
downloadgentoobrowse-api-24755d651561a20e0ec90b90dc6f0d1ca6c0eb49.tar.bz2
gentoobrowse-api-24755d651561a20e0ec90b90dc6f0d1ca6c0eb49.tar.xz
gentoobrowse-api-24755d651561a20e0ec90b90dc6f0d1ca6c0eb49.zip
Add fields/members/functions for storing a user's signup date and when they last received a mailshot
Diffstat (limited to 'gentoobrowse-api/service/sql/users/mailshotsent.sql')
-rw-r--r--gentoobrowse-api/service/sql/users/mailshotsent.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/sql/users/mailshotsent.sql b/gentoobrowse-api/service/sql/users/mailshotsent.sql
new file mode 100644
index 0000000..21ef5a7
--- /dev/null
+++ b/gentoobrowse-api/service/sql/users/mailshotsent.sql
@@ -0,0 +1,3 @@
+UPDATE gentoobrowse.users SET
+ lastmailshot = NOW()
+WHERE userid = ?