diff options
author | zeripath <art27@cantab.net> | 2020-12-13 11:34:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 11:34:11 +0000 |
commit | 825efa2605421a54ad1c5960de9e121a34d68d1a (patch) | |
tree | 8442728c795f4c9cf4116526258e9db38e0bb90f /modules/structs | |
parent | cf6f8b22caa64c95a96b16881aa19a95c0edb7c1 (diff) | |
download | gitea-825efa2605421a54ad1c5960de9e121a34d68d1a.tar.gz gitea-825efa2605421a54ad1c5960de9e121a34d68d1a.zip |
[API] Add Ref to Issue (#13946)
* Add Ref to api.Issue
This PR adds Ref to api.Issue and adds the backend parts to the migrator.
Fix #13918
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/issue.go b/modules/structs/issue.go index 54b0f31d8a..06ad2de322 100644 --- a/modules/structs/issue.go +++ b/modules/structs/issue.go @@ -47,6 +47,7 @@ type Issue struct { OriginalAuthorID int64 `json:"original_author_id"` Title string `json:"title"` Body string `json:"body"` + Ref string `json:"ref"` Labels []*Label `json:"labels"` Milestone *Milestone `json:"milestone"` Assignee *User `json:"assignee"` |