feat(coderd): store workspace proxy version in the database (#10790)

Stores workspace proxy version in database upon registration.
This commit is contained in:
Cian Johnston
2023-11-21 11:21:25 +00:00
committed by GitHub
parent 7060069034
commit abafc0863c
19 changed files with 56 additions and 12 deletions

View File

@ -59,6 +59,7 @@ type WorkspaceProxy struct {
CreatedAt time.Time `json:"created_at" format:"date-time" table:"created_at,default_sort"`
UpdatedAt time.Time `json:"updated_at" format:"date-time" table:"updated_at"`
Deleted bool `json:"deleted" table:"deleted"`
Version string `json:"version" table:"version"`
}
type CreateWorkspaceProxyRequest struct {