You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-30 00:58:30 +02:00
initial public commit
This commit is contained in:
22
models/param.go
Normal file
22
models/param.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"github.com/pocketbase/pocketbase/tools/types"
|
||||
)
|
||||
|
||||
var _ Model = (*Param)(nil)
|
||||
|
||||
const (
|
||||
ParamAppSettings = "settings"
|
||||
)
|
||||
|
||||
type Param struct {
|
||||
BaseModel
|
||||
|
||||
Key string `db:"key" json:"key"`
|
||||
Value types.JsonRaw `db:"value" json:"value"`
|
||||
}
|
||||
|
||||
func (m *Param) TableName() string {
|
||||
return "_params"
|
||||
}
|
||||
Reference in New Issue
Block a user