diff --git a/models/conversations/conversation.go b/models/conversations/conversation.go index 98d8cac872e..cff9cdf13aa 100644 --- a/models/conversations/conversation.go +++ b/models/conversations/conversation.go @@ -104,7 +104,7 @@ type Conversation struct { Index int64 `xorm:"UNIQUE(repo_index)"` RepoID int64 `xorm:"INDEX UNIQUE(repo_index)"` Repo *repo_model.Repository `xorm:"-"` - Type ConversationType + Type ConversationType `xorm:"INDEX"` NumComments int