Skip to content

Commit 6420170

Browse files
committed
build number over date
1 parent c8eed82 commit 6420170

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/database/queries.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/quotas.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WHERE
3535
workspaces.organization_id = @organization_id
3636
ORDER BY
3737
wb.workspace_id,
38-
wb.created_at DESC
38+
wb.build_number DESC
3939
)
4040
SELECT
4141
coalesce(SUM(daily_cost), 0)::BIGINT

0 commit comments

Comments
 (0)