add field UserID
This commit is contained in:
@@ -13,6 +13,7 @@ type SQLiteTokenStore struct {
|
||||
|
||||
type Token struct {
|
||||
TokenID string `gorm:"primaryKey"`
|
||||
UserID int64 `gorm:"index"`
|
||||
Expiration time.Time `gorm:"index"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user