Skip to content

Commit 7b4c3e2

Browse files
committed
Fix bug
1 parent 097c649 commit 7b4c3e2

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

models/migrations/v1_24/v318.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,14 @@
44
package v1_24 //nolint
55

66
import (
7-
<<<<<<< HEAD
8-
"code.gitea.io/gitea/modules/timeutil"
9-
=======
107
"code.gitea.io/gitea/models/perm"
11-
>>>>>>> main
128

139
"xorm.io/xorm"
1410
)
1511

16-
<<<<<<< HEAD
17-
func CreateTableIssueDevLink(x *xorm.Engine) error {
18-
type IssueDevLink struct {
19-
ID int64 `xorm:"pk autoincr"`
20-
IssueID int64 `xorm:"INDEX"`
21-
LinkType int
22-
LinkedRepoID int64 `xorm:"INDEX"` // it can link to self repo or other repo
23-
LinkIndex string // branch name, pull request number or commit sha
24-
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
25-
}
26-
return x.Sync(new(IssueDevLink))
27-
=======
2812
func AddRepoUnitAnonymousAccessMode(x *xorm.Engine) error {
2913
type RepoUnit struct { //revive:disable-line:exported
3014
AnonymousAccessMode perm.AccessMode `xorm:"NOT NULL DEFAULT 0"`
3115
}
3216
return x.Sync(&RepoUnit{})
33-
>>>>>>> main
3417
}

0 commit comments

Comments
 (0)