mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
turns out I added it to the wrong database that I was testing with 💀
This commit is contained in:
parent
1ea9224271
commit
580ff4801b
|
|
@ -149,7 +149,8 @@ func newPostgresDatabase(conMan *sqlutil.Connections, dbOpts *config.DatabaseOpt
|
||||||
SELECT child_event_id, origin_server_ts, room_id FROM msc2836_edges
|
SELECT child_event_id, origin_server_ts, room_id FROM msc2836_edges
|
||||||
LEFT JOIN msc2836_nodes ON msc2836_edges.child_event_id = msc2836_nodes.event_id
|
LEFT JOIN msc2836_nodes ON msc2836_edges.child_event_id = msc2836_nodes.event_id
|
||||||
WHERE room_id = $1
|
WHERE room_id = $1
|
||||||
ORDER BY origin_server_ts`
|
ORDER BY origin_server_ts
|
||||||
|
`
|
||||||
if d.selectChildrenByRoomIdForParentOldestFirstStmt, err = d.db.Prepare(selectChildrenByRoomIdQuery + "ASC LIMIT $2 OFFSET $3"); err != nil {
|
if d.selectChildrenByRoomIdForParentOldestFirstStmt, err = d.db.Prepare(selectChildrenByRoomIdQuery + "ASC LIMIT $2 OFFSET $3"); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue