feat(db): add postgresql support (#892)

This commit is contained in:
Scott McKendry
2026-05-26 09:08:59 +12:00
committed by GitHub
parent 0a3e7bf265
commit 359000f731
18 changed files with 1450 additions and 12 deletions
+2 -2
View File
@@ -91,8 +91,8 @@ type Config struct {
}
type DatabaseConfig struct {
Driver string `description:"The database driver to use. Valid values: sqlite, memory." yaml:"driver"`
Path string `description:"The path to the SQLite database, including file name. Only used when driver is sqlite." yaml:"path"`
Driver string `description:"The database driver to use. Valid values: sqlite, postgres, memory." yaml:"driver"`
Path string `description:"The path to the SQLite database file, or connection URL when driver is postgres." yaml:"path"`
}
type AnalyticsConfig struct {