aboutsummaryrefslogtreecommitdiff
path: root/models/issue.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-06-28 14:58:59 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-06-28 14:58:59 +0800
commit86e2627175ceaed544dabbbef40d9197995c2bd4 (patch)
tree820eb7762ca0d3fa4f14e657a1ce2aa9f4b73617 /models/issue.go
parente5ae41e21f7fa1e25f04a28d907b89c78196c824 (diff)
parentee9b7f322ff4c4c14952c2f83fb03e90fa583cad (diff)
Merge branch 'master' of github.com:gogits/gogs
Conflicts: models/update.go routers/repo/http.go
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue.go b/models/issue.go
index 11f6dd4e..6d67a72b 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -213,9 +213,9 @@ func GetIssueCountByPoster(uid, rid int64, isClosed bool) int64 {
// IssueUser represents an issue-user relation.
type IssueUser struct {
Id int64
- Uid int64 // User ID.
+ Uid int64 `xorm:"INDEX"` // User ID.
IssueId int64
- RepoId int64
+ RepoId int64 `xorm:"INDEX"`
MilestoneId int64
IsRead bool
IsAssigned bool