mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 14:44:10 -04:00
Stop writing to event_reference_hashes
(#12679)
This table is never read, since #11794. We stop writing to it; in future we can drop it altogether.
This commit is contained in:
parent
dbb12a0b54
commit
147f098fb4
5 changed files with 5 additions and 38 deletions
|
@ -58,15 +58,6 @@ class EventFederationWorkerStoreTestCase(tests.unittest.HomeserverTestCase):
|
|||
(room_id, event_id),
|
||||
)
|
||||
|
||||
txn.execute(
|
||||
(
|
||||
"INSERT INTO event_reference_hashes "
|
||||
"(event_id, algorithm, hash) "
|
||||
"VALUES (?, 'sha256', ?)"
|
||||
),
|
||||
(event_id, bytearray(b"ffff")),
|
||||
)
|
||||
|
||||
for i in range(0, 20):
|
||||
self.get_success(
|
||||
self.store.db_pool.runInteraction("insert", insert_event, i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue