[management] remove account id check from inner groups query to use index (#8297)

This commit is contained in:
Pascal Fischer
2026-10-22 19:13:55 +02:00
committed by GitHub
parent 431e201355
commit 48ecdfbcfc
@@ -17,7 +17,7 @@ const (
(
select array_agg(group_peers.peer_id)
from group_peers
where group_peers.group_id = groups.id and group_peers.account_id=$1
where group_peers.group_id = groups.id
) as peers
from groups where account_id=$1
`