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:
Steven Masley
2023-07-25 09:14:38 -04:00
committed by GitHub
parent fbb2a6a434
commit de1a7a9210
39 changed files with 819 additions and 717 deletions
+4 -3
View File
@@ -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