Your product site
Database
Prisma 7 on PostgreSQL with a shared package used by the web app and the API. The migrations are already written for everything on this list.
- Prisma
What you get
- 23 migrations
- pgvector for the knowledge base
- A dev seed with an admin, users and workspaces
- A typed tRPC API over the data
Turn it on
- DATABASE_URL
- pnpm exec prisma migrate dev
Where it lives
packages/db/prisma/schema.prismapackages/db/prisma/migrations/trpc/