diff options
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:"-"` |