summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-08-22 20:25:11 +0200
committerMatthew Hodgson <matthew@matrix.org>2018-08-22 20:25:11 +0200
commita667e38db69af1e099bececbaeb5f79d6f05a435 (patch)
tree9940a02e3ede9143a570293e5d00ada2144e0f10 /synapse
parentremove accidental commit (diff)
downloadsynapse-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.sql1
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);