diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-08-06 17:51:15 +0100 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-08-06 17:51:15 +0100 |
commit | 16d78be315fd71d8bdb39af53317b3f7dd1dbb32 (patch) | |
tree | 39de239fa4c86067162a60a8a63548087b8c541b /synapse/storage/schema/delta | |
parent | py3 fix (diff) | |
download | synapse-16d78be315fd71d8bdb39af53317b3f7dd1dbb32.tar.xz |
make use of _simple_select_one_onecol, improved comments
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r-- | synapse/storage/schema/delta/51/monthly_active_users.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/51/monthly_active_users.sql b/synapse/storage/schema/delta/51/monthly_active_users.sql index f2b6d3e31e..10aac90ce1 100644 --- a/synapse/storage/schema/delta/51/monthly_active_users.sql +++ b/synapse/storage/schema/delta/51/monthly_active_users.sql @@ -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 ); |