MCPcopy Index your code
hub / github.com/coder/coder / WorkspaceTable

Struct WorkspaceTable

coderd/database/models.go:6236–6256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6234}
6235
6236type WorkspaceTable struct {
6237 ID uuid.UUID `db:"id" json:"id"`
6238 CreatedAt time.Time `db:"created_at" json:"created_at"`
6239 UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
6240 OwnerID uuid.UUID `db:"owner_id" json:"owner_id"`
6241 OrganizationID uuid.UUID `db:"organization_id" json:"organization_id"`
6242 TemplateID uuid.UUID `db:"template_id" json:"template_id"`
6243 Deleted bool `db:"deleted" json:"deleted"`
6244 Name string `db:"name" json:"name"`
6245 AutostartSchedule sql.NullString `db:"autostart_schedule" json:"autostart_schedule"`
6246 Ttl sql.NullInt64 `db:"ttl" json:"ttl"`
6247 LastUsedAt time.Time `db:"last_used_at" json:"last_used_at"`
6248 DormantAt sql.NullTime `db:"dormant_at" json:"dormant_at"`
6249 DeletingAt sql.NullTime `db:"deleting_at" json:"deleting_at"`
6250 AutomaticUpdates AutomaticUpdates `db:"automatic_updates" json:"automatic_updates"`
6251 // Favorite is true if the workspace owner has favorited the workspace.
6252 Favorite bool `db:"favorite" json:"favorite"`
6253 NextStartAt sql.NullTime `db:"next_start_at" json:"next_start_at"`
6254 GroupACL WorkspaceACL `db:"group_acl" json:"group_acl"`
6255 UserACL WorkspaceACL `db:"user_acl" json:"user_acl"`
6256}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected