diff options
author | Maurizio Porrato <maurizio.porrato@gmail.com> | 2019-03-05 02:34:52 +0000 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-04 21:34:52 -0500 |
commit | 19862699cd4fcac672cf87310b192d3182357086 (patch) | |
tree | daf50ff68513844f2b065dac4888872ab9b0058d /models/u2f.go | |
parent | 141c58f5a6353a3e9173ababd1532819ba2ee284 (diff) | |
download | gitea-19862699cd4fcac672cf87310b192d3182357086.tar.gz gitea-19862699cd4fcac672cf87310b192d3182357086.zip |
Override xorm type mapping for U2F counter (#6232)
Diffstat (limited to 'models/u2f.go')
-rw-r--r-- | models/u2f.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/u2f.go b/models/u2f.go index a7b031d9e2..888c67d0c5 100644 --- a/models/u2f.go +++ b/models/u2f.go @@ -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"` } |