refactor: update LoginSession

This commit is contained in:
Derrick Hammer 2023-05-04 04:13:00 -04:00
parent 7bb7edb7d9
commit 782ac58ed2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -9,8 +9,8 @@ type LoginSession struct {
gorm.Model
ID uint `gorm:"primaryKey"`
AccountID uint
Token string `gorm:"uniqueIndex"`
Account Account
Token string `gorm:"uniqueIndex"`
Expiration time.Time
CreatedAt time.Time
UpdatedAt time.Time