File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 44package v1_24 //nolint
55
66import (
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- == == == =
2812func 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}
You can’t perform that action at this time.
0 commit comments