summaryrefslogtreecommitdiffstats
path: root/models/migrations/v55.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v55.go')
-rw-r--r--models/migrations/v55.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/models/migrations/v55.go b/models/migrations/v55.go
deleted file mode 100644
index a259e4f001..0000000000
--- a/models/migrations/v55.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2018 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 (
- "fmt"
-
- "code.gitea.io/gitea/models"
-
- "xorm.io/xorm"
-)
-
-func addModeToDeploKeys(x *xorm.Engine) error {
- type DeployKey struct {
- Mode models.AccessMode `xorm:"NOT NULL DEFAULT 1"`
- }
-
- if err := x.Sync2(new(DeployKey)); err != nil {
- return fmt.Errorf("Sync2: %v", err)
- }
- return nil
-}