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

Skip to content

Commit ca0d9a8

Browse files
committed
Delete duplciate code
1 parent 1f8b742 commit ca0d9a8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

coderd/database/sqlxqueries/workspace.gosql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ WHERE
2929
job_id = @job_id
3030
ELSE true
3131
END
32-
AND CASE
33-
WHEN @job_id :: uuid != '00000000-0000-0000-0000-000000000000'::uuid THEN
34-
job_id = @job_id
35-
ELSE true
36-
END
3732
AND CASE
3833
WHEN @created_after :: timestamp with time zone != '0001-01-01 00:00:00Z' THEN
3934
created_at > @created_after

0 commit comments

Comments
 (0)