mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 10:35:04 +08:00
parent
0ac845042e
commit
660c30db80
|
@ -9,6 +9,7 @@ import (
|
|||
|
||||
"code.gitea.io/gitea/models/db"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
|
||||
"github.com/42wim/sshsig"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,5 +11,5 @@ func addSSHKeyIsVerified(x *xorm.Engine) error {
|
|||
Verified bool `xorm:"NOT NULL DEFAULT false"`
|
||||
}
|
||||
|
||||
return x.Sync(new(PublicKey))
|
||||
return x.Sync2(new(PublicKey))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user