homebox/backend/internal/sys/config/conf_database.go
2023-03-22 20:26:07 -08:00

11 lines
305 B
Go

package config
const (
DriverSqlite3 = "sqlite3"
)
type Storage struct {
// Data is the path to the root directory
Data string `yaml:"data" conf:"default:./.data"`
SqliteUrl string `yaml:"sqlite-url" conf:"default:./.data/homebox.db?_pragma=busy_timeout=1000&_pragma=journal_mode=WAL&_fk=1"`
}