feat: add last used to Workspaces page (#3816)

This commit is contained in:
Ammar Bandukwala
2022-09-01 19:08:51 -05:00
committed by GitHub
parent 80e9f24ac7
commit 04b03792cb
20 changed files with 156 additions and 11 deletions

View File

@ -525,6 +525,7 @@ type Workspace struct {
Name string `db:"name" json:"name"`
AutostartSchedule sql.NullString `db:"autostart_schedule" json:"autostart_schedule"`
Ttl sql.NullInt64 `db:"ttl" json:"ttl"`
LastUsedAt time.Time `db:"last_used_at" json:"last_used_at"`
}
type WorkspaceAgent struct {