Skip to content

Commit d4d98ad

Browse files
committed
fix
1 parent 7925be3 commit d4d98ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/auth/webauthn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type WebAuthnCredential struct {
5252
PublicKey []byte
5353
AttestationType string
5454
AAGUID []byte
55-
CredentialFlags string `xorm:"TEXT DEFAULT ''"`
55+
CredentialFlags string `xorm:"TEXT"`
5656
SignCount uint32 `xorm:"BIGINT"`
5757
CloneWarning bool
5858
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`

models/migrations/v1_23/v310.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
type WebAuthnCredential310 struct {
14-
CredentialFlags string `xorm:"TEXT DEFAULT ''"`
14+
CredentialFlags string `xorm:"TEXT"`
1515
}
1616

1717
func (cred WebAuthnCredential310) TableName() string {

0 commit comments

Comments
 (0)