summaryrefslogtreecommitdiffstats
path: root/models/auth/token.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/auth/token.go')
-rw-r--r--models/auth/token.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/auth/token.go b/models/auth/token.go
index 0dfcb7629b..3f9f117f73 100644
--- a/models/auth/token.go
+++ b/models/auth/token.go
@@ -65,6 +65,7 @@ type AccessToken struct {
TokenHash string `xorm:"UNIQUE"` // sha256 of token
TokenSalt string
TokenLastEight string `xorm:"INDEX token_last_eight"`
+ Scope AccessTokenScope
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`