← All components

Prisma ORM (PostgreSQL)

Adds Prisma ORM (v7, driver-adapter based) with a PostgreSQL datasource and a hot-reload-safe singleton PrismaClient for use in Next.js Server Components, Route Handlers, and Server Actions. Point DATABASE_URL at any hosted Postgres instance.

Copy the files below, or open this folder on GitHub. Each file is stamped with a limited-use licence, generator and date. SHA-256 is of the published catalog bytes, before the stamp.

id
prisma
stack
Next.js
version
1.0.0
compatibility
nextjs >=16 <17 · react >=19 <20
requires
nextjs-base
env vars
DATABASE_URL
Verified passing · daily buildIntegrity sha256:b6edf01b2cd8c5f3

Files (3)

prisma/schema.prisma · sha256:b6edf01b2cd8c5f3…
# Licensed by BotKelp — https://www.botkelp.com

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
}

// Add your models here, e.g.:
// model Post {
//   id        String   @id @default(cuid())
//   title     String
//   createdAt DateTime @default(now())
// }