mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 22:09:09 +02:00
[management] remove account id check from inner groups query to use index (#8297)
This commit is contained in:
@@ -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
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user