feat: add postgres connection helper

Add a thin wrapper around pgx to open and verify a Postgres connection from a URL or individual parameters.
This commit is contained in:
2026-04-01 09:00:00 -05:00
parent 69ea51a8b6
commit 438b6afa1c
4 changed files with 59 additions and 3 deletions

2
.env.example Normal file
View File

@@ -0,0 +1,2 @@
PG_FROM_DB_URL=postgresql://postgres:password@localhost:5432/db
PG_TO_DB_URL=postgresql://postgres:password@localhost:5432/db