Add possibility to record branch or tag information in an issue (#780)

This commit is contained in:
Zsombor 2017-08-24 14:30:27 +02:00 committed by Lauris BH
parent 174255e74e
commit da230a2872
9 changed files with 78 additions and 0 deletions

View file

@ -49,6 +49,7 @@ type Issue struct {
IsPull bool `xorm:"INDEX"` // Indicates whether is a pull request or not.
PullRequest *PullRequest `xorm:"-"`
NumComments int
Ref string
Deadline time.Time `xorm:"-"`
DeadlineUnix int64 `xorm:"INDEX"`