diff options
Diffstat (limited to 'database/model/model.go')
| -rw-r--r-- | database/model/model.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/database/model/model.go b/database/model/model.go index 7a20de16..2e7095d3 100644 --- a/database/model/model.go +++ b/database/model/model.go @@ -21,10 +21,9 @@ const ( ) type User struct { - Id int `json:"id" gorm:"primaryKey;autoIncrement"` - Username string `json:"username"` - Password string `json:"password"` - LoginSecret string `json:"loginSecret"` + Id int `json:"id" gorm:"primaryKey;autoIncrement"` + Username string `json:"username"` + Password string `json:"password"` } type Inbound struct { |
