Add scope field to access token

This commit is contained in:
harryzcy 2022-08-22 02:24:30 -04:00
parent f1ea6c92d1
commit 90e3b585ff

View file

@ -59,6 +59,7 @@ type AccessToken struct {
TokenHash string `xorm:"UNIQUE"` // sha256 of token
TokenSalt string
TokenLastEight string `xorm:"token_last_eight"`
Scope string
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`