summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-19 13:29:02 +0100
committerErik Johnston <erik@matrix.org>2019-07-19 13:29:02 +0100
commitebc5ed1296c433e97d4dcf1c8a5fc1477506e84e (patch)
tree2d8495ec3ad2e2b7bfbdac44637cc6c58e96e38c /synapse/storage
parentNewsfile (diff)
downloadsynapse-ebc5ed1296c433e97d4dcf1c8a5fc1477506e84e.tar.xz
Update comment for new column
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/schema/delta/56/current_state_events_membership.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/56/current_state_events_membership.sql b/synapse/storage/schema/delta/56/current_state_events_membership.sql
index ec7ad5bae2..b2e08cd85d 100644
--- a/synapse/storage/schema/delta/56/current_state_events_membership.sql
+++ b/synapse/storage/schema/delta/56/current_state_events_membership.sql
@@ -16,6 +16,9 @@
 -- We add membership to current state so that we don't need to join against
 -- room_memberships, which can be surprisingly costly (we do such queries
 -- very frequently).
+-- This will be null for non-membership events and the content.membership key
+-- for membership events. (Will also be null for membership events until the
+-- background update job has finished).
 ALTER TABLE current_state_events ADD membership TEXT;
 
 INSERT INTO background_updates (update_name, progress_json) VALUES