fix: sqlc api

This commit is contained in:
Acbox
2026-01-29 16:10:09 +08:00
parent 2f43e82c18
commit 28f6d87017
6 changed files with 103 additions and 111 deletions
+6 -6
View File
@@ -40,12 +40,6 @@ type History struct {
User pgtype.UUID `json:"user"`
}
type Settings struct {
UserID pgtype.UUID `json:"user_id"`
MaxContextLoadTime int32 `json:"max_context_load_time"`
Language string `json:"language"`
}
type LifecycleEvent struct {
ID string `json:"id"`
ContainerID string `json:"container_id"`
@@ -111,3 +105,9 @@ type User struct {
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastLoginAt pgtype.Timestamptz `json:"last_login_at"`
}
type UserSetting struct {
UserID pgtype.UUID `json:"user_id"`
MaxContextLoadTime int32 `json:"max_context_load_time"`
Language string `json:"language"`
}