diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-09-14 13:11:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 17:11:16 +0000 |
commit | 666ae877292d4747b9441105e3df8558f7a335c0 (patch) | |
tree | 6538790909adc1349bb0f1fb8f748414748a1e24 /changelog.d/13753.misc | |
parent | Use partial indices on SQLIte. (#13802) (diff) | |
download | synapse-666ae877292d4747b9441105e3df8558f7a335c0.tar.xz |
Update event push action and receipt tables to support threads. (#13753)
Adds a `thread_id` column to the `event_push_actions`, `event_push_actions_staging`, and `event_push_summary` tables. This will notifications to be segmented by the thread in a future pull request. The `thread_id` column stores the root event ID or the special value `"main"`. The `thread_id` column for `event_push_actions` and `event_push_summary` is backfilled with `"main"` for all existing rows. New entries into `event_push_actions` and `event_push_actions_staging` will get the proper thread ID. `receipts_linearized` and `receipts_graph` also gain a `thread_id` column, which is similar, except `NULL` is a special value meaning the receipt is "unthreaded". See MSC3771 and MSC3773 for where this data will be useful.
Diffstat (limited to 'changelog.d/13753.misc')
-rw-r--r-- | changelog.d/13753.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13753.misc b/changelog.d/13753.misc new file mode 100644 index 0000000000..63de2eb9f9 --- /dev/null +++ b/changelog.d/13753.misc @@ -0,0 +1 @@ +Prepatory work for storing thread IDs for notifications and receipts. |