diff options
author | Benjamin Saunders <ben.e.saunders@gmail.com> | 2016-08-14 11:50:22 -0700 |
---|---|---|
committer | Benjamin Saunders <ben.e.saunders@gmail.com> | 2016-08-14 11:50:22 -0700 |
commit | 8a57cc3123d36606fa2cf014b541e39c68cff72c (patch) | |
tree | 73fba807340f290241bda2f996b3de91820e56dd | |
parent | Merge branch 'release-v0.17.0' of github.com:matrix-org/synapse (diff) | |
download | synapse-8a57cc3123d36606fa2cf014b541e39c68cff72c.tar.xz |
Add missing database corruption recovery case
Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
-rw-r--r-- | synapse/storage/events.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index d2feee8dbb..ad026b5e0b 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -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,), |