feat: add profile route and ui
ci-api / test (push) Failing after 34m42s
ci-web / test (push) Failing after 24m16s

This commit is contained in:
Nuxgrid
2026-07-28 22:00:46 +02:00
parent cb651a04e2
commit ef280799c1
10 changed files with 297 additions and 4 deletions
@@ -5,6 +5,7 @@ import "time"
type User struct {
ID string `gorm:"type:uuid;primaryKey" json:"id"`
Username string `gorm:"uniqueIndex;size:64;not null" json:"username"`
Telegram *string `gorm:"size:120;not null" json:"telegram"`
PasswordHash string `gorm:"not null" json:"-"`
Role Role `gorm:"size:20;not null" json:"role"`
TypeAbo string `gorm:"type:varchar(35);default:demo" json:"type_abonnement"`