From a33582aca7d4868b555ec2b0c9cc102768eb8d9d Mon Sep 17 00:00:00 2001 From: Nuxgrid Date: Wed, 29 Jul 2026 09:43:17 +0200 Subject: [PATCH] fix: fixup telegram column --- control-plane/api/internal/auth/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control-plane/api/internal/auth/models.go b/control-plane/api/internal/auth/models.go index b3e42a4..9773aa3 100644 --- a/control-plane/api/internal/auth/models.go +++ b/control-plane/api/internal/auth/models.go @@ -5,7 +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"` + Telegram *string `gorm:"size:120" 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"`