This commit is contained in:
Unknwon committed 2015-08-17 17:05:37 +08:00
1 parent 875f917771
commit 407385db7e
9 files changed
+111 -71

No files matched your search

+2 -2
View File
@@ -18,8 +18,8 @@ var (
// AccessToken represents a personal access token.
type AccessToken struct {
Id int64
Uid int64
ID int64 `xorm:"pk autoincr"`
UID int64 `xorm:"uid INDEX"`
Name string
Sha1 string `xorm:"UNIQUE VARCHAR(40)"`
Created time.Time `xorm:"CREATED"`