You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
514 B
26 lines
514 B
2 years ago
|
# type Issue struct {
|
||
|
# ID int64 `xorm:"pk autoincr"`
|
||
|
# RepoID int64 `xorm:"INDEX UNIQUE(repo_index)"`
|
||
|
# Index int64 `xorm:"UNIQUE(repo_index)"` // Index in one repository.
|
||
|
# MilestoneID int64 `xorm:"INDEX"`
|
||
|
# IsClosed bool `xorm:"INDEX"`
|
||
|
# }
|
||
|
-
|
||
|
id: 1
|
||
|
repo_id: 1
|
||
|
index: 1
|
||
|
milestone_id: 1
|
||
|
is_closed: false
|
||
|
-
|
||
|
id: 2
|
||
|
repo_id: 1
|
||
|
index: 2
|
||
|
milestone_id: 1
|
||
|
is_closed: true
|
||
|
-
|
||
|
id: 4
|
||
|
repo_id: 1
|
||
|
index: 3
|
||
|
milestone_id: 1
|
||
|
is_closed: false
|