diff options
author | Unknwon <u@gogs.io> | 2017-05-21 04:36:41 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-05-21 04:36:41 -0400 |
commit | ce6e8ed8fe8bf82fef16996a7e0b90ce64755e08 (patch) | |
tree | 59150762f9d8fde5fc1be56d4b704b5201aae641 /models/comment.go | |
parent | 1755025e7f5e3b9b4fd46e37a5d74f8e192f7bd2 (diff) |
models: remove redundant tags for primary keys
Diffstat (limited to 'models/comment.go')
-rw-r--r-- | models/comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/comment.go b/models/comment.go index d18b14df..673ca780 100644 --- a/models/comment.go +++ b/models/comment.go @@ -49,7 +49,7 @@ const ( // Comment represents a comment in commit and issue page. type Comment struct { - ID int64 `xorm:"pk autoincr"` + ID int64 Type CommentType PosterID int64 Poster *User `xorm:"-"` |