Prisma ORM · Schema

Configure the database

Choose the database provider and read the connection string from an environment variable.

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

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

Official Prisma ORM documentation

More schema commands

All schema commands · Prisma ORM cheatsheet

Was this page helpful?