summaryrefslogtreecommitdiffstats
path: root/models/migrations/v36.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v36.go')
-rw-r--r--models/migrations/v36.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/models/migrations/v36.go b/models/migrations/v36.go
new file mode 100644
index 0000000000..06f76a26d6
--- /dev/null
+++ b/models/migrations/v36.go
@@ -0,0 +1,15 @@
+// Copyright 2017 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package migrations
+
+import (
+ "code.gitea.io/gitea/models"
+
+ "github.com/go-xorm/xorm"
+)
+
+func regenerateGitHooks36(x *xorm.Engine) (err error) {
+ return models.SyncRepositoryHooks()
+}