mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
666ae87729
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. |
||
---|---|---|
.. | ||
01add_room_type_to_state_stats.sql | ||
01event_push_summary_receipt.sql | ||
02event_push_actions_index.sql | ||
03bg_populate_events_columns.py | ||
03drop_event_reference_hashes.sql | ||
03remove_groups.sql | ||
04drop_column_application_services_state_last_txn.sql.postgres | ||
04drop_column_application_services_state_last_txn.sql.sqlite | ||
05receipts_event_stream_ordering.sql | ||
05remove_unstable_private_read_receipts.sql | ||
06add_consent_ts_to_users.sql | ||
06thread_notifications.sql | ||
07force_update_current_state_events_membership.py | ||
07thread_receipts.sql.postgres | ||
07thread_receipts.sql.sqlite | ||
08begin_cache_invalidation_seq_at_2.sql.postgres | ||
08thread_receipts.sql | ||
09partial_indices.sql.sqlite |