You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
P1: every repo, route, scheduler path and test now speaks one async DB interface (all/get/run/exec/transaction). better-sqlite3 stays underneath for dev/tests via SqliteDb (statement cache, manual BEGIN/SAVEPOINT nesting); openDb stays sync so fixtures remain one-liners. Zero behavior change: 346/346 tests, typecheck clean. P2: migrations-pg.ts — numbered Postgres migration set (001-init: bigint paise, integer flags, TEXT ISO dates, TEXT JSON; reminder CHECK born in final widened form) + schema_migrations runner. P3: db-pg.ts — pg Pool behind the same interface: ?->$n rewrite outside string literals, transactions pinned to one pooled client via AsyncLocalStorage with savepoint nesting, int8/numeric parsed to JS numbers so paise math is identical on both engines. Also: reminder upsert INSERT OR IGNORE -> ON CONFLICT DO NOTHING (portable, same changes-count semantics). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
4 days ago | |
|---|---|---|
| .. | ||
| api.ts | 4 days ago | |
| audit.ts | 4 days ago | |
| auth.ts | 4 days ago | |
| aws-costs.ts | 4 days ago | |
| bounces.ts | 4 days ago | |
| crypto.ts | 2 weeks ago | |
| db-pg.ts | 4 days ago | |
| db.ts | 4 days ago | |
| gmail.ts | 4 days ago | |
| import-apex.ts | 4 days ago | |
| migrations-pg.ts | 4 days ago | |
| pdf.ts | 2 weeks ago | |
| reminder-templates.ts | 5 days ago | |
| repos-amc.ts | 4 days ago | |
| repos-aws.ts | 4 days ago | |
| repos-clients.ts | 4 days ago | |
| repos-dashboard.ts | 4 days ago | |
| repos-documents.ts | 4 days ago | |
| repos-email.ts | 4 days ago | |
| repos-employees.ts | 4 days ago | |
| repos-interactions.ts | 4 days ago | |
| repos-modules.ts | 4 days ago | |
| repos-payments.ts | 4 days ago | |
| repos-pipeline.ts | 4 days ago | |
| repos-recurring.ts | 4 days ago | |
| repos-reminders.ts | 4 days ago | |
| repos-reports.ts | 4 days ago | |
| repos-shares.ts | 4 days ago | |
| scheduler.ts | 4 days ago | |
| seed.ts | 4 days ago | |
| send-reminder.ts | 4 days ago | |
| series.ts | 4 days ago | |
| server.ts | 4 days ago | |
| templates.ts | 5 days ago | |