Skip to content

Commit bca107a

Browse files
Merge pull request #1870 from 5t111111/docs/prisma-migrate-is-now-ga
docs(prisma): Prisma Migrate entered GA and preview-feature flag is no longer needed
2 parents 0609870 + b99016d commit bca107a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

content/recipes/prisma.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,9 @@ model Post {
180180
With your Prisma models in place, you can generate your SQL migration files and run them against the database. Run the following commands in your terminal:
181181

182182
```bash
183-
$ npx prisma migrate dev --name init --preview-feature
183+
$ npx prisma migrate dev --name init
184184
```
185185

186-
> info **Note** The `prisma migrate` commands currently requires the `--preview-feature` option as it's in [Preview](https://www.prisma.io/docs/about/releases#preview).
187-
188186
This `prisma migrate dev` command generates SQL files and directly runs them against the database. In this case, the following migration files was created in the existing `prisma` directory:
189187

190188
```bash

0 commit comments

Comments
 (0)