summaryrefslogtreecommitdiffstats
path: root/models/token.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-10 11:40:34 -0400
committerUnknwon <u@gogs.io>2015-09-10 11:40:34 -0400
commit52ec80fa18bf991c6356b7aa972a1d3983aa20c3 (patch)
tree878773705e8d959598be88354317d1bbea80e0a8 /models/token.go
parentc8d92fad305f78f0207203b3f1ea955e0ef0309d (diff)
downloadgitea-52ec80fa18bf991c6356b7aa972a1d3983aa20c3.tar.gz
gitea-52ec80fa18bf991c6356b7aa972a1d3983aa20c3.zip
finish all new user settings UI
Diffstat (limited to 'models/token.go')
-rw-r--r--models/token.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/token.go b/models/token.go
index 852a910fec..3bb06dc7c0 100644
--- a/models/token.go
+++ b/models/token.go
@@ -14,7 +14,7 @@ import (
// AccessToken represents a personal access token.
type AccessToken struct {
ID int64 `xorm:"pk autoincr"`
- UID int64 `xorm:"uid INDEX"`
+ UID int64 `xorm:"INDEX"`
Name string
Sha1 string `xorm:"UNIQUE VARCHAR(40)"`
Created time.Time `xorm:"CREATED"`