mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix: sqlc api
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user