summary refs log tree commit diff
path: root/scripts-dev/nuke-room-from-db.sh
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2018-05-09 00:46:47 +0200
committerrubo77 <github@r.z11.de>2018-05-09 00:46:47 +0200
commitd11b8b6b659957b28c2bbf8bc6ca060284097377 (patch)
tree3f62a4e351c0f00a523cb0e185376fbeae52b0bd /scripts-dev/nuke-room-from-db.sh
parentDont nuke non-existing table event_search_content (diff)
downloadsynapse-d11b8b6b659957b28c2bbf8bc6ca060284097377.tar.xz
nuke-room-from-db.sh: nuke from table event_search too
Diffstat (limited to 'scripts-dev/nuke-room-from-db.sh')
-rwxr-xr-xscripts-dev/nuke-room-from-db.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts-dev/nuke-room-from-db.sh b/scripts-dev/nuke-room-from-db.sh
index 53617f21f1..2cfd71b0b8 100755
--- a/scripts-dev/nuke-room-from-db.sh
+++ b/scripts-dev/nuke-room-from-db.sh
@@ -29,6 +29,7 @@ DELETE FROM state_groups WHERE room_id = '$ROOMID';
 DELETE FROM state_groups_state WHERE room_id = '$ROOMID';
 DELETE FROM receipts_graph WHERE room_id = '$ROOMID';
 DELETE FROM receipts_linearized WHERE room_id = '$ROOMID';
+DELETE FROM event_search WHERE room_id = '$ROOMID'; 
 DELETE FROM guest_access WHERE room_id = '$ROOMID';
 DELETE FROM history_visibility WHERE room_id = '$ROOMID';
 DELETE FROM room_tags WHERE room_id = '$ROOMID';