- Provisioned PostgreSQL 16 droplet (2vCPU/4GB) on DO - Converted Drizzle ORM from better-sqlite3 to node-postgres - Updated schema to use pgTable, serial, timestamp - Added initDb() startup function for table creation - Configured connection pooling (max 20, idle timeout) - Removed better-sqlite3 dependency - Deployed and verified: auth create/read works on PostgreSQL - DB: gammanexus@gammanexus-db (10.136.95.120 private network) |
||
|---|---|---|
| .. | ||
| schema.ts | ||