ADR-001: Database and ORM Choice

· 1min · adrs

Status:

Accepted

Context:

Need a type-safe database layer for a Node.js application with PostgreSQL.

Decision:

Use Drizzle ORM with Supabase PostgreSQL.

Consequences:

✅ Type safety with schema inference ✅ Migration support with drizzle-kit ✅ Good TypeScript integration ✅ Lightweight compared to Prisma ❌ Smaller ecosystem than Prisma