summaryrefslogtreecommitdiffstats
path: root/models/repo_unit.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_unit.go')
-rw-r--r--models/repo_unit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/repo_unit.go b/models/repo_unit.go
index ec680c395e..42ce8f6c8d 100644
--- a/models/repo_unit.go
+++ b/models/repo_unit.go
@@ -10,8 +10,8 @@ import (
"code.gitea.io/gitea/modules/timeutil"
"github.com/unknwon/com"
- "xorm.io/core"
"xorm.io/xorm"
+ "xorm.io/xorm/convert"
)
// RepoUnit describes all units of a repository
@@ -19,7 +19,7 @@ type RepoUnit struct {
ID int64
RepoID int64 `xorm:"INDEX(s)"`
Type UnitType `xorm:"INDEX(s)"`
- Config core.Conversion `xorm:"TEXT"`
+ Config convert.Conversion `xorm:"TEXT"`
CreatedUnix timeutil.TimeStamp `xorm:"INDEX CREATED"`
}