mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 18:30:24 +00:00
Add missing database corruption recovery case
Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
This commit is contained in:
parent
d330d45e2d
commit
8a57cc3123
1 changed files with 2 additions and 1 deletions
|
@ -600,7 +600,8 @@ class EventsStore(SQLBaseStore):
|
|||
"rejections",
|
||||
"redactions",
|
||||
"room_memberships",
|
||||
"state_events"
|
||||
"state_events",
|
||||
"topics"
|
||||
):
|
||||
txn.executemany(
|
||||
"DELETE FROM %s WHERE event_id = ?" % (table,),
|
||||
|
|
Loading…
Reference in a new issue