mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Override xorm type mapping for U2F counter (#6232)
This commit is contained in:
parent
141c58f5a6
commit
19862699cd
4 changed files with 43 additions and 1 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue