Skip to content

Commit 793df2e

Browse files
95gabordeansheather
authored andcommitted
fix(migration): removed hardcoded public (#12620)
(cherry picked from commit 9c69672)
1 parent 3215464 commit 793df2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/database/migrations/000196_external_auth_providers_jsonb.down.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SELECT
5151
template_versions.archived,
5252
COALESCE(visible_users.avatar_url, ''::text) AS created_by_avatar_url,
5353
COALESCE(visible_users.username, ''::text) AS created_by_username
54-
FROM (public.template_versions
54+
FROM (template_versions
5555
LEFT JOIN visible_users ON (template_versions.created_by = visible_users.id));
5656

5757
COMMENT ON VIEW template_version_with_user IS 'Joins in the username + avatar url of the created by user.';

coderd/database/migrations/000196_external_auth_providers_jsonb.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SELECT
5353
template_versions.archived,
5454
COALESCE(visible_users.avatar_url, ''::text) AS created_by_avatar_url,
5555
COALESCE(visible_users.username, ''::text) AS created_by_username
56-
FROM (public.template_versions
56+
FROM (template_versions
5757
LEFT JOIN visible_users ON (template_versions.created_by = visible_users.id));
5858

5959
COMMENT ON VIEW template_version_with_user IS 'Joins in the username + avatar url of the created by user.';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy