Skip to content

Commit c7c22aa

Browse files
author
Earl Warren
committed
Merge pull request '[v10.0/forgejo] fix: xorm needs to be lowercase otherwise it is ignored' (go-gitea#6406) from bp-v10.0/forgejo-b03ecf5 into v10.0/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6406 Reviewed-by: Gusted <[email protected]>
2 parents 0eab84d + e71fd7d commit c7c22aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

models/auth/webauthn.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ type WebAuthnCredential struct {
5252
AAGUID []byte
5353
SignCount uint32 `xorm:"BIGINT"`
5454
CloneWarning bool
55-
BackupEligible bool `XORM:"NOT NULL DEFAULT false"`
56-
BackupState bool `XORM:"NOT NULL DEFAULT false"`
55+
BackupEligible bool `xorm:"NOT NULL DEFAULT false"`
56+
BackupState bool `xorm:"NOT NULL DEFAULT false"`
5757
// If legacy is set to true, backup_eligible and backup_state isn't set.
58-
Legacy bool `XORM:"NOT NULL DEFAULT true"`
58+
Legacy bool `xorm:"NOT NULL DEFAULT true"`
5959
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
6060
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
6161
}

0 commit comments

Comments
 (0)