add field UserID

This commit is contained in:
2025-12-18 11:24:57 +02:00
parent 4ae85c73bb
commit 97253ee9c7

View File

@@ -13,6 +13,7 @@ type SQLiteTokenStore struct {
type Token struct { type Token struct {
TokenID string `gorm:"primaryKey"` TokenID string `gorm:"primaryKey"`
UserID int64 `gorm:"index"`
Expiration time.Time `gorm:"index"` Expiration time.Time `gorm:"index"`
} }