From 83c7984dba13539a71cca306fd8e3db67fbe4376 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 22 Aug 2022 11:58:17 +0100 Subject: [PATCH] Fix table name --- roomserver/storage/postgres/membership_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roomserver/storage/postgres/membership_table.go b/roomserver/storage/postgres/membership_table.go index 855d27ba7..462513bcb 100644 --- a/roomserver/storage/postgres/membership_table.go +++ b/roomserver/storage/postgres/membership_table.go @@ -154,7 +154,7 @@ const selectServerInRoomSQL = "" + " WHERE membership_nid = $1 AND room_nid = $2 AND event_state_key LIKE '%:' || $3 LIMIT 1" const purgeMembershipsSQL = "" + - "DELETE FROM roomserver_memberships WHERE room_nid = $1" + "DELETE FROM roomserver_membership WHERE room_nid = $1" type membershipStatements struct { insertMembershipStmt *sql.Stmt