Commit Graph

4 Commits (45340d8f85c9647254316964525454b83bca53bc)

Author SHA1 Message Date
isnowglobal-admin 1877bb7aa7 Fix: PostgreSQL setup on production droplet
- Revert schema to pgTable/serial (matches PostgreSQL)
- db.ts switched back to node-postgres driver
- PostgreSQL 16 installed and running on 142.93.245.235
- Database: gammanexus, User: gn_admin
- Same schema across local and production
2026-06-13 19:28:48 -04:00
isnowglobal-admin 8763a426e0 Fix: Switch schema from PostgreSQL to SQLite for user registration
- Use sqliteTable/integer instead of pgTable/serial
- Fix Drizzle ORM compatibility with better-sqlite3 driver
- This was causing silent failures on user registration
2026-06-13 19:24:34 -04:00
isnowglobal-admin f112a14d60 Phase 1: Migrate from SQLite to PostgreSQL
- 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)
2026-05-21 19:50:37 -04:00
isnowglobal-admin 003a913186 GammaDesk initial commit - Options Gamma Analytics platform 2026-05-21 01:41:11 -04:00