chore: add theme_preference column to users table (#11069)

This commit is contained in:
Kayla Washburn
2023-12-08 14:59:53 -07:00
committed by GitHub
parent ebd6c1b573
commit d8e95001e8
10 changed files with 55 additions and 30 deletions

View File

@ -2119,6 +2119,8 @@ type User struct {
LastSeenAt time.Time `db:"last_seen_at" json:"last_seen_at"`
// Daily (!) cron schedule (with optional CRON_TZ) signifying the start of the user's quiet hours. If empty, the default quiet hours on the instance is used instead.
QuietHoursSchedule string `db:"quiet_hours_schedule" json:"quiet_hours_schedule"`
// "" can be interpreted as "the user does not care", falling back to the default theme
ThemePreference string `db:"theme_preference" json:"theme_preference"`
}
type UserLink struct {