diff options
author | 6543 <6543@obermui.de> | 2021-12-20 18:58:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 18:58:38 +0100 |
commit | 660c30db80fdfca3c92ecf988b2d395b6eb5017c (patch) | |
tree | 21ac46717d0d0bc9aab7872e39bb79954de9c26c /models/migrations | |
parent | 0ac845042e14c85934f02ecef2696e1a8651663e (diff) | |
download | gitea-660c30db80fdfca3c92ecf988b2d395b6eb5017c.tar.gz gitea-660c30db80fdfca3c92ecf988b2d395b6eb5017c.zip |
Migration 204 use Sync2 (#18044)
* format nit
* Sync2
Diffstat (limited to 'models/migrations')
-rw-r--r-- | models/migrations/v204.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v204.go b/models/migrations/v204.go index 159fbd9dde..ad21cfbd84 100644 --- a/models/migrations/v204.go +++ b/models/migrations/v204.go @@ -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)) } |