diff options
author | Unknwon <u@gogs.io> | 2015-09-10 11:40:34 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-10 11:40:34 -0400 |
commit | 52ec80fa18bf991c6356b7aa972a1d3983aa20c3 (patch) | |
tree | 878773705e8d959598be88354317d1bbea80e0a8 /models/token.go | |
parent | c8d92fad305f78f0207203b3f1ea955e0ef0309d (diff) | |
download | gitea-52ec80fa18bf991c6356b7aa972a1d3983aa20c3.tar.gz gitea-52ec80fa18bf991c6356b7aa972a1d3983aa20c3.zip |
finish all new user settings UI
Diffstat (limited to 'models/token.go')
-rw-r--r-- | models/token.go | 2 |
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"` |