We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e64c48 commit f6a50caCopy full SHA for f6a50ca
models/migrations/v209.go
@@ -78,6 +78,14 @@ func increaseCredentialIDTo410(x *xorm.Engine) error {
78
return nil
79
}
80
81
+ exist, err := x.IsTableExist("u2f_registration")
82
+ if err != nil {
83
+ return err
84
+ }
85
+ if !exist {
86
+ return nil
87
88
+
89
// Now migrate the old u2f registrations to the new format
90
type u2fRegistration struct {
91
ID int64 `xorm:"pk autoincr"`
0 commit comments