diff --git a/database/model/model.go b/database/model/model.go index ff37d6ed..f54db7b3 100644 --- a/database/model/model.go +++ b/database/model/model.go @@ -27,7 +27,7 @@ type User struct { } type Inbound struct { - Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"` + Id int `json:"id" form:"id" gorm:"primaryKey"` UserId int `json:"-"` Up int64 `json:"up" form:"up"` Down int64 `json:"down" form:"down"`