fix(database): fix sqlite init error in smb workspace

fix(postLog/database): change journal mode from WAL to DELETE
This commit is contained in:
2026-08-05 13:31:25 +08:00
parent c25b267334
commit 814fbe0dae
8 changed files with 59 additions and 5 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func LoadConfig(configPath string) (*Config, error) {
cfg.DataPath = "./data"
}
if cfg.DBPath == "" {
cfg.DBPath = "./logs.db"
cfg.DBPath = "./db"
}
// Apply default message templates if not specified.