summaryrefslogtreecommitdiffstats
path: root/models/migrations/v204.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v204.go')
-rw-r--r--models/migrations/v204.go2
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))
}