将 auth 数据库从 SQLite 迁移到 PostgreSQL

This commit is contained in:
fish
2026-05-03 20:50:28 +08:00
parent fbcde3cc71
commit 79d2f292f1
8 changed files with 23 additions and 59 deletions

View File

@@ -30,7 +30,7 @@ func main() {
}
defer futures.Close()
authDB, err := store.OpenAuth(cfg.AuthDBPath)
authDB, err := store.OpenAuth(cfg.DatabaseURL)
if err != nil {
log.Fatalf("open auth: %v", err)
}