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

Skip to content

Commit ba13e03

Browse files
committed
IS NOT NULL
1 parent f3787d1 commit ba13e03

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

coderd/database/queries.sql.go

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

coderd/database/queries/workspaces.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ WITH workspace_builds_agents AS (
7777
ON
7878
workspace_agents.resource_id = workspace_resources.id
7979
WHERE
80-
workspace_builds.transition = 'start'::workspace_transition AND
81-
workspace_agents.id IS NOT NULL
80+
workspace_builds.transition = 'start'::workspace_transition
8281
)
8382
SELECT
8483
workspaces.*, COUNT(*) OVER () as count

0 commit comments

Comments
 (0)