chore: update comment on the users.github_com_user_id field (#17037)

Follow up to https://github.com/coder/coder/pull/17029.
This commit is contained in:
Hugo Dutka
2025-03-21 13:31:17 +01:00
committed by GitHub
parent a71aa202dc
commit de6080c46d
4 changed files with 4 additions and 2 deletions

View File

@ -3180,7 +3180,7 @@ type User struct {
QuietHoursSchedule string `db:"quiet_hours_schedule" json:"quiet_hours_schedule"`
// Name of the Coder user
Name string `db:"name" json:"name"`
// The GitHub.com numerical user ID. At time of implementation, this is used to check if the user has starred the Coder repository.
// The GitHub.com numerical user ID. It is used to check if the user has starred the Coder repository. It is also used for filtering users in the users list CLI command, and may become more widely used in the future.
GithubComUserID sql.NullInt64 `db:"github_com_user_id" json:"github_com_user_id"`
// A hash of the one-time-passcode given to the user.
HashedOneTimePasscode []byte `db:"hashed_one_time_passcode" json:"hashed_one_time_passcode"`