feat: sync current progress (P0 hardening + P1 observability + deploy docs/systemd)

This commit is contained in:
OpenClaw Agent
2026-02-28 23:51:23 +08:00
commit d17296d794
96 changed files with 6358 additions and 0 deletions

12
internal/model/user.go Normal file
View File

@@ -0,0 +1,12 @@
package model
import "time"
type User struct {
ID uint `json:"id" gorm:"primaryKey"`
Username string `json:"username" gorm:"size:64;uniqueIndex;not null"`
PasswordHash string `json:"-" gorm:"size:255;not null"`
Timezone string `json:"timezone" gorm:"size:64;not null;default:UTC"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}