Fix table name

This commit is contained in:
Neil Alexander 2022-08-22 11:58:17 +01:00
parent 6442aea104
commit 83c7984dba
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

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