summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-30 15:01:22 +0100
committerErik Johnston <erik@matrix.org>2017-05-30 15:01:22 +0100
commitdd48f7204c511d5ba4438dfe01679bcb7367216d (patch)
tree088527adf20ff5498cdf0d16d32d583d4fd6a810 /synapse
parentAdd clobbered event_id (diff)
downloadsynapse-dd48f7204c511d5ba4438dfe01679bcb7367216d.tar.xz
Add comment
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/schema/delta/42/current_state_delta.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/42/current_state_delta.sql b/synapse/storage/schema/delta/42/current_state_delta.sql
index bf124f3def..d28851aff8 100644
--- a/synapse/storage/schema/delta/42/current_state_delta.sql
+++ b/synapse/storage/schema/delta/42/current_state_delta.sql
@@ -20,7 +20,7 @@ CREATE TABLE current_state_delta_stream (
     type TEXT NOT NULL,
     state_key TEXT NOT NULL,
     event_id TEXT,  -- Is null if the key was removed
-    prev_event_id TEXT
+    prev_event_id TEXT  -- Is null if the key was added
 );
 
 CREATE INDEX current_state_delta_stream_idx ON current_state_delta_stream(stream_id);