mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: Remove grouping for workspace owner counts (#1503)
This caused templates to show max ownership of one developer!
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user