0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 20:44:34 +01:00
This commit is contained in:
Robin Lambertz 2016-06-27 10:58:53 +02:00 committed by 无闻
parent 4bbb878d20
commit ac05f88641

View file

@ -32,8 +32,8 @@ var (
// Issue represents an issue or pull request of repository. // Issue represents an issue or pull request of repository.
type Issue struct { type Issue struct {
ID int64 `xorm:"pk autoincr"` ID int64 `xorm:"pk autoincr"`
RepoID int64 `xorm:"INDEX"` RepoID int64 `xorm:"INDEX UNIQUE(repo_index)"`
Index int64 // Index in one repository. Index int64 `xorm:"UNIQUE(repo_index)"` // Index in one repository.
Name string Name string
Repo *Repository `xorm:"-"` Repo *Repository `xorm:"-"`
PosterID int64 PosterID int64