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 WHERE
template_id = ANY(@ids :: uuid [ ]) template_id = ANY(@ids :: uuid [ ])
GROUP BY GROUP BY
template_id, template_id;
owner_id;
-- name: InsertWorkspace :one -- name: InsertWorkspace :one
INSERT INTO INSERT INTO