Update comment for new column

This commit is contained in:
Erik Johnston 2019-07-19 13:29:02 +01:00
parent 89c885909a
commit ebc5ed1296
1 changed files with 3 additions and 0 deletions

View File

@ -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