aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_10/v98.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_10/v98.go')
-rw-r--r--models/migrations/v1_10/v98.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_10/v98.go b/models/migrations/v1_10/v98.go
index cab9a63065..bdd9aed089 100644
--- a/models/migrations/v1_10/v98.go
+++ b/models/migrations/v1_10/v98.go
@@ -12,5 +12,5 @@ func AddOriginalAuthorOnMigratedReleases(x *xorm.Engine) error {
OriginalAuthorID int64 `xorm:"index"`
}
- return x.Sync2(new(Release))
+ return x.Sync(new(Release))
}