Skip to content

Commit 2e95753

Browse files
committed
fix public schema
1 parent 33c0bc4 commit 2e95753

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

coderd/database/queries.sql.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/user_links.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ WHERE
7474
jsonb_typeof(claims->'id_token_claims') != 'null' AND
7575
login_type = 'oidc'
7676
AND CASE WHEN @organization_id :: uuid != '00000000-0000-0000-0000-000000000000'::uuid THEN
77-
user_links.user_id = ANY(SELECT organization_members.user_id FROM public.organization_members WHERE organization_id = @organization_id)
77+
user_links.user_id = ANY(SELECT organization_members.user_id FROM organization_members WHERE organization_id = @organization_id)
7878
ELSE true
7979
END
8080

@@ -92,7 +92,7 @@ WHERE
9292
jsonb_typeof(claims->'user_info_claims') != 'null' AND
9393
login_type = 'oidc'
9494
AND CASE WHEN @organization_id :: uuid != '00000000-0000-0000-0000-000000000000'::uuid THEN
95-
user_links.user_id = ANY(SELECT organization_members.user_id FROM public.organization_members WHERE organization_id = @organization_id)
95+
user_links.user_id = ANY(SELECT organization_members.user_id FROM organization_members WHERE organization_id = @organization_id)
9696
ELSE true
9797
END
9898
;

0 commit comments

Comments
 (0)