diff options
| author | RahGozar <info@developermen.ir> | 2025-09-17 18:45:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 18:45:28 +0300 |
| commit | fcdeb1fc79574175df0021bf4cdf03438eab0620 (patch) | |
| tree | a848317439d8b75e0c16dafce4d430ffcc84ff03 /xray | |
| parent | 0a58b5e745f5a4eb279e4584b1d4e32a08a243ee (diff) | |
feat: add UUID to ClientTraffic (#3491)
* Update client_traffic.go
* Update inbound.go
Diffstat (limited to 'xray')
| -rw-r--r-- | xray/client_traffic.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xray/client_traffic.go b/xray/client_traffic.go index 84c509ac..6300269e 100644 --- a/xray/client_traffic.go +++ b/xray/client_traffic.go @@ -5,6 +5,7 @@ type ClientTraffic struct { InboundId int `json:"inboundId" form:"inboundId"` Enable bool `json:"enable" form:"enable"` Email string `json:"email" form:"email" gorm:"unique"` + UUID string `json:"uuid" form:"uuid" gorm:"unique;type:char(36)"` SubId string `json:"subId" form:"subId" gorm:"-"` Up int64 `json:"up" form:"up"` Down int64 `json:"down" form:"down"` |
