Полный продакшен-рефактор fix25: split peer/admin, удаление legacy, шифрование secret, auth_id, новые API/роуты и зачистка subscription
This commit is contained in:
@@ -5,7 +5,7 @@ type Peer struct {
|
||||
Remark *string `gorm:"column:remark;default:''" json:"remark"`
|
||||
AuthId *string `gorm:"column:auth_id;default:''" json:"authId"`
|
||||
SecretDigest *string `gorm:"column:secret_digest;default:''" json:"secretDigest"`
|
||||
SecretCiphertext *string `gorm:"column:secret_ciphertext;default:''" json:"secretCiphertext"`
|
||||
SecretEncrypted *string `gorm:"column:secret_ciphertext;default:''" json:"-"`
|
||||
QuotaBytes *int64 `gorm:"column:quota_bytes;default:0" json:"quotaBytes"`
|
||||
DownloadBytes *int64 `gorm:"column:download_bytes;default:0" json:"downloadBytes"`
|
||||
UploadBytes *int64 `gorm:"column:upload_bytes;default:0" json:"uploadBytes"`
|
||||
|
||||
Reference in New Issue
Block a user