We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09463d1 commit 2183f58Copy full SHA for 2183f58
models/issue_comment.go
@@ -99,10 +99,10 @@ const (
99
100
// Comment represents a comment in commit and issue page.
101
type Comment struct {
102
- ID int64 `xorm:"pk autoincr"`
103
- Type CommentType
104
- PosterID int64 `xorm:"INDEX"`
105
- Poster *User `xorm:"-"`
+ ID int64 `xorm:"pk autoincr"`
+ Type CommentType `xorm:"index"`
+ PosterID int64 `xorm:"INDEX"`
+ Poster *User `xorm:"-"`
106
OriginalAuthor string
107
OriginalAuthorID int64
108
IssueID int64 `xorm:"INDEX"`
@@ -143,7 +143,7 @@ type Comment struct {
143
ShowTag CommentTag `xorm:"-"`
144
145
Review *Review `xorm:"-"`
146
- ReviewID int64
+ ReviewID int64 `xorm:"index"`
147
Invalidated bool
148
}
149
0 commit comments