ServiceAccounts: Add Service Account Token last used at date (#51446)
* ServiceAccounts Add api key last used at * ServiceAccounts: LastUpdateAt tests
This commit is contained in:
@@ -20,6 +20,7 @@ type ApiKey struct {
|
||||
Role RoleType
|
||||
Created time.Time
|
||||
Updated time.Time
|
||||
LastUsedAt *time.Time `xorm:"last_used_at"`
|
||||
Expires *int64
|
||||
ServiceAccountId *int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user