summaryrefslogtreecommitdiffstats
path: root/models/u2f.go
diff options
context:
space:
mode:
authorMaurizio Porrato <maurizio.porrato@gmail.com>2019-03-05 02:34:52 +0000
committertechknowlogick <matti@mdranta.net>2019-03-04 21:34:52 -0500
commit19862699cd4fcac672cf87310b192d3182357086 (patch)
treedaf50ff68513844f2b065dac4888872ab9b0058d /models/u2f.go
parent141c58f5a6353a3e9173ababd1532819ba2ee284 (diff)
downloadgitea-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.go2
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"`
}