finish all new user settings UI

This commit is contained in:
Unknwon 2015-09-10 11:40:34 -04:00
parent c8d92fad30
commit 52ec80fa18
21 changed files with 295 additions and 283 deletions

View file

@ -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"`