chore: sync model schema

This commit is contained in:
JustSong
2023-09-29 18:13:57 +08:00
parent 7fff657629
commit e159737938
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ type Channel struct {
Key string `json:"key" gorm:"not null;index"`
Status int `json:"status" gorm:"default:1"`
Name string `json:"name" gorm:"index"`
Weight int `json:"weight"`
Weight *uint `json:"weight" gorm:"default:0"`
CreatedTime int64 `json:"created_time" gorm:"bigint"`
TestTime int64 `json:"test_time" gorm:"bigint"`
ResponseTime int `json:"response_time"` // in milliseconds