feat: add PostgreSQL backend

Mirrors the node:sqlite sub-backend structure with full migration support.
Uses native pg types (UUID, JSONB, TIMESTAMPTZ) and $1/$2 parameterisation
via internal ? placeholders converted at execution time.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 10:42:29 +00:00
co-authored by Claude
parent 3b9a6bc85c
commit bc787a208a
22 changed files with 1273 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/pg": "^8.20.0",
"@types/koa": "^3.0.0",
"@types/koa__router": "^12.0.4",
"@types/react": "^19.1.12",