+FTS5 Rebuild

This commit is contained in:
Simon Martens
2026-01-30 16:22:19 +01:00
parent 52fecc0d05
commit 82c3c9c1e3
17 changed files with 1475 additions and 174 deletions

23
dbmodels/settings.go Normal file
View File

@@ -0,0 +1,23 @@
package dbmodels
import "github.com/pocketbase/pocketbase/core"
type Setting struct {
core.BaseRecordProxy
}
func (s *Setting) Key() string {
return s.GetString(KEY_FIELD)
}
func (s *Setting) SetKey(key string) {
s.Set(KEY_FIELD, key)
}
func (s *Setting) Value() any {
return s.GetRaw(VALUE_FIELD)
}
func (s *Setting) SetValue(value any) {
s.Set(VALUE_FIELD, value)
}