You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/recipes/prisma.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -180,11 +180,9 @@ model Post {
180
180
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:
181
181
182
182
```bash
183
-
$ npx prisma migrate dev --name init --preview-feature
183
+
$ npx prisma migrate dev --name init
184
184
```
185
185
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
-
188
186
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:
0 commit comments