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

Skip to content

fix: Remove grouping for workspace owner counts #1503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Remove grouping for workspace owner counts
This caused templates to show max ownership of one developer!
  • Loading branch information
kylecarbs committed May 17, 2022
commit de97d45cb660a45e7973da4a1d3f095e276e3496
3 changes: 1 addition & 2 deletions coderd/database/queries/workspaces.sql
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ FROM
WHERE
template_id = ANY(@ids :: uuid [ ])
GROUP BY
template_id,
owner_id;
template_id;

-- name: InsertWorkspace :one
INSERT INTO
Expand Down