aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_11/v107.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_11/v107.go')
-rw-r--r--models/migrations/v1_11/v107.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_11/v107.go b/models/migrations/v1_11/v107.go
index 1ffbd35dd7..f0bfe5862c 100644
--- a/models/migrations/v1_11/v107.go
+++ b/models/migrations/v1_11/v107.go
@@ -13,5 +13,5 @@ func AddTemplateToRepo(x *xorm.Engine) error {
TemplateID int64 `xorm:"INDEX"`
}
- return x.Sync2(new(Repository))
+ return x.Sync(new(Repository))
}