mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: join user information to workspace_build and template_version (#8625)
* include minimial user on template version and build * Add unit test to ensure join is superset
This commit is contained in:
@@ -27,12 +27,13 @@ overrides:
|
||||
- column: "template_with_users.group_acl"
|
||||
go_type:
|
||||
type: "TemplateACL"
|
||||
- column: "template_with_users.created_by_avatar_url"
|
||||
go_type:
|
||||
type: "string"
|
||||
rename:
|
||||
template: TemplateTable
|
||||
template_with_user: Template
|
||||
workspace_build: WorkspaceBuildTable
|
||||
workspace_build_with_user: WorkspaceBuild
|
||||
template_version: TemplateVersionTable
|
||||
template_version_with_user: TemplateVersion
|
||||
api_key: APIKey
|
||||
api_key_scope: APIKeyScope
|
||||
api_key_scope_all: APIKeyScopeAll
|
||||
|
||||
Reference in New Issue
Block a user