make use of _simple_select_one_onecol, improved comments

This commit is contained in:
Neil Johnson 2018-08-06 17:51:15 +01:00
parent e40a510fbf
commit 16d78be315
2 changed files with 15 additions and 8 deletions

View file

@ -16,6 +16,10 @@
-- a table of monthly active users, for use where blocking based on mau limits
CREATE TABLE monthly_active_users (
user_id TEXT NOT NULL,
-- Last time we saw the user. Not guaranteed to be accurate due to rate limiting
-- on updates, Granularity of updates governed by
-- syanpse.storage.monthly_active_users.LAST_SEEN_GRANULARITY
-- Measured in ms since epoch.
timestamp BIGINT NOT NULL
);