Add missing database corruption recovery case

Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
This commit is contained in:
Benjamin Saunders 2016-08-14 11:50:22 -07:00
parent d330d45e2d
commit 8a57cc3123

View File

@ -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,),