aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_14/v161.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_14/v161.go')
-rw-r--r--models/migrations/v1_14/v161.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_14/v161.go b/models/migrations/v1_14/v161.go
index ef3c14d595..ac7e821a80 100644
--- a/models/migrations/v1_14/v161.go
+++ b/models/migrations/v1_14/v161.go
@@ -41,7 +41,7 @@ func ConvertTaskTypeToString(x *xorm.Engine) error {
type HookTask struct {
Typ string `xorm:"VARCHAR(16) index"`
}
- if err := x.Sync2(new(HookTask)); err != nil {
+ if err := x.Sync(new(HookTask)); err != nil {
return err
}