mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat: add timezone support for schedule and user runtime (#282)
This commit is contained in:
@@ -13,6 +13,7 @@ type Bot struct {
|
||||
OwnerUserID pgtype.UUID `json:"owner_user_id"`
|
||||
DisplayName pgtype.Text `json:"display_name"`
|
||||
AvatarUrl pgtype.Text `json:"avatar_url"`
|
||||
Timezone pgtype.Text `json:"timezone"`
|
||||
IsActive bool `json:"is_active"`
|
||||
Status string `json:"status"`
|
||||
MaxContextLoadTime int32 `json:"max_context_load_time"`
|
||||
@@ -463,6 +464,7 @@ type User struct {
|
||||
Role string `json:"role"`
|
||||
DisplayName pgtype.Text `json:"display_name"`
|
||||
AvatarUrl pgtype.Text `json:"avatar_url"`
|
||||
Timezone string `json:"timezone"`
|
||||
DataRoot pgtype.Text `json:"data_root"`
|
||||
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
|
||||
IsActive bool `json:"is_active"`
|
||||
|
||||
Reference in New Issue
Block a user