aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_9/v83.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_9/v83.go')
-rw-r--r--models/migrations/v1_9/v83.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_9/v83.go b/models/migrations/v1_9/v83.go
index afe504e9c5..10e6c45875 100644
--- a/models/migrations/v1_9/v83.go
+++ b/models/migrations/v1_9/v83.go
@@ -23,5 +23,5 @@ func AddUploaderIDForAttachment(x *xorm.Engine) error {
CreatedUnix timeutil.TimeStamp `xorm:"created"`
}
- return x.Sync2(new(Attachment))
+ return x.Sync(new(Attachment))
}