summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-05-09 11:58:07 +0100
committerGitHub <noreply@github.com>2018-05-09 11:58:07 +0100
commit60590211c1d07fc5e4cf86327edde6e7149210a0 (patch)
tree214ee79f5eff7cbe8accbd7907c4eb178ff03c5d
parentMerge pull request #3193 from matrix-org/erikj/pagination_refactor (diff)
parentnuke-room-from-db.sh: nuke from table event_search too (diff)
downloadsynapse-60590211c1d07fc5e4cf86327edde6e7149210a0.tar.xz
Merge pull request #3194 from rubo77/fix-nuke
nuke-room-from-db.sh: fix deletion from search table
-rwxr-xr-xscripts-dev/nuke-room-from-db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/nuke-room-from-db.sh b/scripts-dev/nuke-room-from-db.sh
index cd74d78d6a..c62928afdb 100755
--- a/scripts-dev/nuke-room-from-db.sh
+++ b/scripts-dev/nuke-room-from-db.sh
@@ -39,7 +39,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_content WHERE c1room_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';