diff options
Diffstat (limited to 'modules/migrations')
-rw-r--r-- | modules/migrations/base/issue.go | 1 | ||||
-rw-r--r-- | modules/migrations/gitea_uploader.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/migrations/base/issue.go b/modules/migrations/base/issue.go index b9625a23f6..f9dc8b93fe 100644 --- a/modules/migrations/base/issue.go +++ b/modules/migrations/base/issue.go @@ -15,6 +15,7 @@ type Issue struct { PosterEmail string Title string Content string + Ref string Milestone string State string // closed, open IsLocked bool diff --git a/modules/migrations/gitea_uploader.go b/modules/migrations/gitea_uploader.go index 2cb19685fc..20d7d81ae1 100644 --- a/modules/migrations/gitea_uploader.go +++ b/modules/migrations/gitea_uploader.go @@ -333,6 +333,7 @@ func (g *GiteaLocalUploader) CreateIssues(issues ...*base.Issue) error { Index: issue.Number, Title: issue.Title, Content: issue.Content, + Ref: issue.Ref, IsClosed: issue.State == "closed", IsLocked: issue.IsLocked, MilestoneID: milestoneID, |