Improvements for creating branch model

This commit is contained in:
Lunny Xiao
2024-08-21 19:08:18 -07:00
parent 62fda252bd
commit 2361ec5a44
11 changed files with 149 additions and 53 deletions
+4 -3
View File
@@ -28,9 +28,10 @@ type IssueDevLink struct {
LinkIndex string // branch name, pull request number or commit sha
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
LinkedRepo *repo_model.Repository `xorm:"-"`
PullRequest *PullRequest `xorm:"-"`
Branch *git_model.Branch `xorm:"-"`
LinkedRepo *repo_model.Repository `xorm:"-"`
PullRequest *PullRequest `xorm:"-"`
Branch *git_model.Branch `xorm:"-"`
DisplayBranch bool `xorm:"-"`
}
func init() {