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
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
Next Next commit
Fix down
  • Loading branch information
BrunoQuaresma committed May 25, 2025
commit 5a5ca80b00937e5619c021659298dfada6be4d01
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ FROM (

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

-- Recreate `visible_users` as described in dump.sql
DROP VIEW visible_users;

CREATE VIEW visible_users AS
SELECT users.id, users.username, users.avatar_url
FROM users;

COMMENT ON VIEW visible_users IS 'Visible fields of users are allowed to be joined with other tables for including context of other resources.';

-- Recreate `workspace_build_with_user` as described in dump.sql
DROP VIEW workspace_build_with_user;

Expand Down Expand Up @@ -239,3 +230,12 @@ FROM (
);

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

-- Recreate `visible_users` as described in dump.sql
DROP VIEW visible_users;

CREATE VIEW visible_users AS
SELECT users.id, users.username, users.avatar_url
FROM users;

COMMENT ON VIEW visible_users IS 'Visible fields of users are allowed to be joined with other tables for including context of other resources.';
Loading
0