1
0

chore(api tokens): remove updated date from tokens as it can't be updated anyway

This commit is contained in:
kolaente
2023-09-01 11:16:36 +02:00
parent 8f3d18a809
commit e3c5a93f4f
4 changed files with 2 additions and 8 deletions

View File

@ -31,9 +31,8 @@ type apiTokens20230831155832 struct {
TokenLastEight string `xorm:"not null index varchar(8)" json:"-"`
Permissions map[string][]string `xorm:"json not null" json:"permissions"`
ExpiresAt time.Time `xorm:"not null" json:"expires_at"`
Created time.Time `xorm:"created not null" json:"created"`
Updated time.Time `xorm:"updated not null" json:"updated"`
OwnerID int64 `xorm:"bigint not null" json:"-"`
Created time.Time `xorm:"created not null" json:"created"`
}
func (apiTokens20230831155832) TableName() string {