fix(migration): removed hardcoded public (#12620)

This commit is contained in:
Gábor
2024-03-16 15:11:14 +01:00
committed by GitHub
parent 9ff0bafcee
commit 9c69672382
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ SELECT
template_versions.archived,
COALESCE(visible_users.avatar_url, ''::text) AS created_by_avatar_url,
COALESCE(visible_users.username, ''::text) AS created_by_username
FROM (public.template_versions
FROM (template_versions
LEFT JOIN visible_users ON (template_versions.created_by = visible_users.id));
COMMENT ON VIEW template_version_with_user IS 'Joins in the username + avatar url of the created by user.';

View File

@ -53,7 +53,7 @@ SELECT
template_versions.archived,
COALESCE(visible_users.avatar_url, ''::text) AS created_by_avatar_url,
COALESCE(visible_users.username, ''::text) AS created_by_username
FROM (public.template_versions
FROM (template_versions
LEFT JOIN visible_users ON (template_versions.created_by = visible_users.id));
COMMENT ON VIEW template_version_with_user IS 'Joins in the username + avatar url of the created by user.';