diff --git a/models/migrations/v1_24/v318.go b/models/migrations/v1_24/v318.go index 8dfa8f2d5b..83fb0061d3 100644 --- a/models/migrations/v1_24/v318.go +++ b/models/migrations/v1_24/v318.go @@ -4,31 +4,14 @@ package v1_24 //nolint import ( -<<<<<<< HEAD - "code.gitea.io/gitea/modules/timeutil" -======= "code.gitea.io/gitea/models/perm" ->>>>>>> main "xorm.io/xorm" ) -<<<<<<< HEAD -func CreateTableIssueDevLink(x *xorm.Engine) error { - type IssueDevLink struct { - ID int64 `xorm:"pk autoincr"` - IssueID int64 `xorm:"INDEX"` - LinkType int - LinkedRepoID int64 `xorm:"INDEX"` // it can link to self repo or other repo - LinkIndex string // branch name, pull request number or commit sha - CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"` - } - return x.Sync(new(IssueDevLink)) -======= func AddRepoUnitAnonymousAccessMode(x *xorm.Engine) error { type RepoUnit struct { //revive:disable-line:exported AnonymousAccessMode perm.AccessMode `xorm:"NOT NULL DEFAULT 0"` } return x.Sync(&RepoUnit{}) ->>>>>>> main }