init push
This commit is contained in:
13
internal/domain/transient/token_entry.go
Normal file
13
internal/domain/transient/token_entry.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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" }
|
||||
Reference in New Issue
Block a user