14 lines
373 B
Go
14 lines
373 B
Go
package transient
|
|
|
|
import "time"
|
|
|
|
type TokenEntry struct {
|
|
StoreKey string `gorm:"type:varchar(255);primaryKey;column:store_key"`
|
|
Value []byte `gorm:"type:longblob;not null;column:value"`
|
|
ExpiresAt *time.Time `gorm:"index;column:expires_at"`
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|
|
|
|
func (TokenEntry) TableName() string { return "auth_runtime_tokens" }
|