mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-23 14:51:56 -06:00
Fix a query
This commit is contained in:
parent
83c7984dba
commit
b56011514b
|
@ -61,7 +61,7 @@ const selectPreviousEventExistsSQL = "" +
|
|||
|
||||
const purgePreviousEventsSQL = `
|
||||
DELETE FROM roomserver_previous_events WHERE event_nids && ANY(
|
||||
SELECT ARRAY_AGG(event_nid) FROM roomserver_events WHERE room_nid = 42
|
||||
SELECT ARRAY_AGG(event_nid) FROM roomserver_events WHERE room_nid = $1
|
||||
)
|
||||
`
|
||||
|
||||
|
|
Loading…
Reference in a new issue