mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 22:41:44 +01:00
parent
0ac845042e
commit
660c30db80
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ import (
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"code.gitea.io/gitea/models/db"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"code.gitea.io/gitea/modules/log"
|
||||||
|
|
||||||
"github.com/42wim/sshsig"
|
"github.com/42wim/sshsig"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,5 @@ func addSSHKeyIsVerified(x *xorm.Engine) error {
|
||||||
Verified bool `xorm:"NOT NULL DEFAULT false"`
|
Verified bool `xorm:"NOT NULL DEFAULT false"`
|
||||||
}
|
}
|
||||||
|
|
||||||
return x.Sync(new(PublicKey))
|
return x.Sync2(new(PublicKey))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue