diff options
author | Zsombor <gzsombor@users.noreply.github.com> | 2017-08-24 14:30:27 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-08-24 15:30:27 +0300 |
commit | da230a287264d38156e950a3149e43f65599e65b (patch) | |
tree | 4c5f4d16186f2d201515f77fdf99e9d3fc90df95 /models/issue.go | |
parent | 174255e74ee2c07e685913ab8bce08fc046569f0 (diff) | |
download | gitea-da230a287264d38156e950a3149e43f65599e65b.tar.gz gitea-da230a287264d38156e950a3149e43f65599e65b.zip |
Add possibility to record branch or tag information in an issue (#780)
Diffstat (limited to 'models/issue.go')
-rw-r--r-- | models/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go index 2c385fd066..32e6a5b66b 100644 --- a/models/issue.go +++ b/models/issue.go @@ -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"` |