Skip to content

Conversation

@yangshun
Copy link

@yangshun yangshun commented Dec 6, 2025

Summary

Running the command in the doc shows this error:

npx prisma migrate diff --from-empty --to-schema-datamodel ./prisma/schema.prisma --script --output migrations/0001_create_user_table.sql
Loaded Prisma config from prisma.config.ts.

Error: 
`--to-schema-datamodel` was removed. Please use `--[from/to]-schema` instead.

This PR updates the docs.

Screenshots (optional)

Documentation checklist

@github-actions github-actions bot added the product:d1 D1: https://developers.cloudflare.com/d1/ label Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:d1 D1: https://developers.cloudflare.com/d1/ size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants