We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69acc7e commit 31d11feCopy full SHA for 31d11fe
src/content/docs/d1/tutorials/d1-and-prisma-orm/index.mdx
@@ -166,7 +166,7 @@ model User {
166
Now, run the following command in your terminal to generate the SQL statement that creates a `User` table equivalent to the `User` model above:
167
168
```sh
169
-npx prisma migrate diff --from-empty --to-schema-datamodel ./prisma/schema.prisma --script > migrations/0001_create_user_table.sql
+npx prisma migrate diff --from-empty --to-schema-datamodel ./prisma/schema.prisma --script --output migrations/0001_create_user_table.sql
170
```
171
172
This stores a SQL statement to create a new `User` table in your migration file from before, here is what it looks like:
0 commit comments