fix: Remove grouping for workspace owner counts (#1503)

This caused templates to show max ownership of one developer!
This commit is contained in:
Kyle Carberry
2022-05-16 23:10:52 -05:00
committed by GitHub
parent a2ba69dd28
commit f75d29e38e

View File

@ -65,8 +65,7 @@ FROM
WHERE
template_id = ANY(@ids :: uuid [ ])
GROUP BY
template_id,
owner_id;
template_id;
-- name: InsertWorkspace :one
INSERT INTO