first-commit
This commit is contained in:
17
models/migrations/v1_9/v84.go
Normal file
17
models/migrations/v1_9/v84.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2019 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package v1_9
|
||||
|
||||
import (
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
|
||||
func AddGPGKeyImport(x *xorm.Engine) 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