Skip to content
Prisma CLI프로젝트

A Collection of Prisma CLI Commands

1 min readProjectsMoved from my Tistory blogRead the Korean original

Prisma Login

  • pscale auth login

Connect the Prisma PlanetScale Bridge

  • pscale connect (database name)

Create a Prisma database

  • pscale database create (database name) --region gcp-asia-norteast3

Push the Prisma database (saves the changes in schema.prisma)

  • npx prisma db push

Open Prisma Studio in the browser

  • npx prisma studio

Generate the client

npm install @prisma/client

js
import { PrismaClient } from "@prisma/client";

npx prisma generate

  • #CLI
  • #Prisma
  • #Frontend Developer Sungjun Um

More in Projects