gitea源码

v204.go 288B

123456789101112131415
  1. // Copyright 2021 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package v1_16
  4. import "xorm.io/xorm"
  5. func AddSSHKeyIsVerified(x *xorm.Engine) error {
  6. type PublicKey struct {
  7. Verified bool `xorm:"NOT NULL DEFAULT false"`
  8. }
  9. return x.Sync(new(PublicKey))
  10. }