Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f75d29e

Browse files
authored
fix: Remove grouping for workspace owner counts (#1503)
This caused templates to show max ownership of one developer!
1 parent a2ba69d commit f75d29e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

coderd/database/queries/workspaces.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ FROM
6565
WHERE
6666
template_id = ANY(@ids :: uuid [ ])
6767
GROUP BY
68-
template_id,
69-
owner_id;
68+
template_id;
7069

7170
-- name: InsertWorkspace :one
7271
INSERT INTO

0 commit comments

Comments
 (0)