diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-08-22 20:25:11 +0200 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-08-22 20:25:11 +0200 |
commit | a667e38db69af1e099bececbaeb5f79d6f05a435 (patch) | |
tree | 9940a02e3ede9143a570293e5d00ada2144e0f10 /synapse | |
parent | remove accidental commit (diff) | |
download | synapse-a667e38db69af1e099bececbaeb5f79d6f05a435.tar.xz |
WIP: track whether MAUs are trial or not
...and only promote them to non-trial if we have MAU headroom
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/schema/delta/52/free_mau.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/52/free_mau.sql b/synapse/storage/schema/delta/52/free_mau.sql index 2dae3087cc..54a9f7ec1f 100644 --- a/synapse/storage/schema/delta/52/free_mau.sql +++ b/synapse/storage/schema/delta/52/free_mau.sql @@ -14,5 +14,6 @@ */ ALTER TABLE monthly_active_users ADD COLUMN first_active BIGINT DEFAULT 0 NOT NULL; +ALTER TABLE monthly_active_users ADD COLUMN trial BOOLEAN NOT NULL; CREATE INDEX monthly_active_users_first_active ON monthly_active_users(first_active); |