work on #1493
This commit is contained in:
parent
875f917771
commit
407385db7e
9 changed files with 111 additions and 71 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue