From 032cee71bb6449ee6f257479cb6b11431f0545f2 Mon Sep 17 00:00:00 2001 From: Zai Shi Date: Sat, 9 Mar 2024 09:40:50 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fba43e0c0..bff207862 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ pnpm run codegen # After starting a Postgres database and filling the corresponding variables in .env.local, push the schema to the database: # for production databases, use `deploy` instead. See: https://www.prisma.io/docs/orm/prisma-migrate/understanding-prisma-migrate/mental-model#prisma-migrate-in-a-staging-and-production-environment -pnpm run prisma:server -- migrate reset +pnpm run prisma:server migrate reset # Start the dev server @@ -81,7 +81,7 @@ pnpm run dev You can also open Prisma Studio to see the database interface and edit data directly: ```sh -pnpm run prisma:server -- studio +pnpm run prisma:server studio ``` ### Database migrations @@ -89,5 +89,5 @@ pnpm run prisma:server -- studio If you make changes to the Prisma schema, you need to run the following command to create a migration: ```sh -pnpm run prisma:server -- migrate dev +pnpm run prisma:server migrate dev ```