mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-12 16:23:00 +03:00
12 lines
196 B
Go
12 lines
196 B
Go
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"
|
|
}
|