fix(docs): use db push for local prisma postgres#7920
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
🍈 Lychee Link Check Report5 links: ✅ All links are working!Full Statistics Table
|
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Summary
postgres://URL fromprisma devprisma db pushfor local schema sync instead ofprisma migrate dev--portis shown onprisma dev, notmigrate devRoot cause
The local development page instructed users to run
prisma migrate devagainst local Prisma Postgres. Reproducing the issue with Prisma 7.8.0 returnedP1017, whileprisma db pushsucceeded against the same local server and schema.Validation
P1017withDATABASE_URL=postgres://... npx prisma migrate dev --name initDATABASE_URL=postgres://... npx prisma db pushsucceeds against local Prisma Postgrespnpm exec cspell content/docs/postgres/database/local-development.mdx --show-contextgit diff --checkFixes #7886