element-hq / element-hq/synapse

Remove redundant `event_edges.room_id` and `event_edges.is_state` columns

Open
#12,892 0 comments 0 reactions 0 assignees View on GitHub
A-Database T-Task
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#12892](https://github.com/matrix-org/synapse/issues/12892).

---

`room_id` is implied by the event_id. (see also #3613)
`is_state` is unused since #4837.

Both are clutter and need to go away.

* [x] ensure that nothing relies on them (#12914)
* [x] stop populating them (#12893)
* [ ] delete them altogether

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.