diff options
Diffstat (limited to 'models/migrations/v207.go')
-rw-r--r-- | models/migrations/v207.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v207.go b/models/migrations/v207.go index 4964a8435c..dca2902cd8 100644 --- a/models/migrations/v207.go +++ b/models/migrations/v207.go @@ -22,7 +22,7 @@ func addWebAuthnCred(x *xorm.Engine) error { Name string LowerName string `xorm:"unique(s)"` UserID int64 `xorm:"INDEX unique(s)"` - CredentialID string `xorm:"INDEX"` + CredentialID string `xorm:"INDEX VARCHAR(410)"` // CredentalID in U2F is at most 255bytes / 5 * 8 = 408 - add a few extra characters for safety PublicKey []byte AttestationType string AAGUID []byte |