Migration 204 use Sync2 (#18044)

* format nit

* Sync2
forgejo
6543 2 years ago committed by GitHub
parent 0ac845042e
commit 660c30db80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save