Files
pocket-id-pocket-id-2/backend/internal/model/kv.go

12 lines
196 B
Go
Raw Normal View History

package model
type KV struct {
Key string `gorm:"primaryKey;not null"`
Value *string
}
// TableName overrides the table name used by KV to `kv`
func (KV) TableName() string {
return "kv"
}