ORM

Type-safe database access for your Next.js app.

Prisma ORM provides a type-safe query builder, schema management, and migrations for PostgreSQL, MySQL, and SQLite. Every InBuild project with a database uses Prisma under the hood.

What you get

Type-safe queries generated from your schema
Schema-first modeling with prisma migrate
Supports Postgres, MySQL, SQLite, MongoDB
Seeding scripts for development data
Prisma Studio for visual data browsing

FAQ

Is Prisma included in InBuild projects?

Yes. Projects that use a database include Prisma as the ORM. The schema is defined in prisma/schema.prisma and types are auto-generated.

Can I use a different ORM?

Yes. The exported code is standard Next.js. Replace Prisma with Drizzle, Kysely, or raw SQL if you prefer. Most teams stick with Prisma because the TypeScript integration is excellent.

Other integrations