8000 fix!: update WorkspaceOwnerName to use user.name instead of user.username by BrunoQuaresma · Pull Request #18025 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix!: update WorkspaceOwnerName to use user.name instead of user.username #18025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 27, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix make gen
  • Loading branch information
BrunoQuaresma committed May 27, 2025
commit 761d977a043faea6027fe176c2acd959db1f7dbb
7 changes: 5 additions & 2 deletions coderd/database/dump.sql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ SELECT
COALESCE(
visible_users.username,
''::text
) AS initiator_by_username COALESCE(visible_users.name, ''::text) AS initiator_by_name
) AS initiator_by_username,
COALESCE(visible_users.name, ''::text) AS initiator_by_name
FROM (
workspace_builds
LEFT JOIN visible_users ON (
Expand Down Expand Up @@ -140,7 +141,8 @@ SELECT
COALESCE(
visible_users.username,
''::text
) AS created_by_username COALESCE(visible_users.name, ''::text) AS created_by_name
) AS created_by_username,
COALESCE(visible_users.name, ''::text) AS created_by_name
FROM (
template_versions
LEFT JOIN visible_users ON (
Expand Down
1 change: 1 addition & 0 deletions coderd/database/modelqueries.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ func (q *sqlQuerier) GetAuthorizedTemplates(ctx context.Context, arg GetTemplate
&i.UseClassicParameterFlow,
&i.CreatedByAvatarURL,
&i.CreatedByUsername,
&i.CreatedByName,
&i.OrganizationName,
&i.OrganizationDisplayName,
&i.OrganizationIcon,
Expand Down
3 changes: 3 additions & 0 deletions coderd/database/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading
0