- Remove better-sqlite3, add pg driver - Convert schema to PostgreSQL types (serial, timestamp, boolean, jsonb) - Generate fresh PostgreSQL migrations - Update database connection layer with pg.Pool - Fix all API routes: remove JSON.parse/stringify, use native timestamps and booleans - Update drizzle.config.ts and .env.example for PostgreSQL
The Docker build was failing because drizzle/ was in .gitignore, so migration files (meta/_journal.json) were never committed. Generated initial migration from schema. Co-authored-by: Shelley <shelley@exe.dev>