chore: update
This commit is contained in:
@@ -10,6 +10,14 @@ type User struct {
|
||||
Role Role `gorm:"size:20;not null" json:"role"`
|
||||
TypeAbo string `gorm:"type:varchar(35);default:demo" json:"type_abonnement"`
|
||||
ExpiredAt time.Time `json:"expired_at"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
|
||||
// Réglages d'alerte monitoring (admin uniquement) : chaque admin
|
||||
// configure son propre canal, aucune variable d'env globale — voir
|
||||
// internal/alerts et internal/profile (Get/SetAlertSettings).
|
||||
AlertDiscordWebhookURL *string `gorm:"size:500" json:"-"`
|
||||
AlertTelegramBotToken *string `gorm:"size:200" json:"-"`
|
||||
AlertTelegramChatID *string `gorm:"size:64" json:"-"`
|
||||
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user