初始提交: Gitea 项目代码
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Copyright 2019 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package v1_9
|
||||
|
||||
import "gitea.dev/models/db"
|
||||
|
||||
func AddGPGKeyImport(x db.EngineMigration) error {
|
||||
type GPGKeyImport struct {
|
||||
KeyID string `xorm:"pk CHAR(16) NOT NULL"`
|
||||
Content string `xorm:"TEXT NOT NULL"`
|
||||
}
|
||||
|
||||
return x.Sync(new(GPGKeyImport))
|
||||
}
|
||||
Reference in New Issue
Block a user