1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

Override xorm type mapping for U2F counter (#6232)

This commit is contained in:
Maurizio Porrato 2019-03-05 02:34:52 +00:00 committed by techknowlogick
parent 141c58f5a6
commit 19862699cd
4 changed files with 43 additions and 1 deletions

View file

@ -17,7 +17,7 @@ type U2FRegistration struct {
Name string
UserID int64 `xorm:"INDEX"`
Raw []byte
Counter uint32
Counter uint32 `xorm:"BIGINT"`
CreatedUnix util.TimeStamp `xorm:"INDEX created"`
UpdatedUnix util.TimeStamp `xorm:"INDEX updated"`
}