Repository navigation
docs(cli): db migrate now suggests commands that run when no migration reaches the target - #8876
Closed
wmadden-electric wants to merge 1 commit into
Closed
wmadden-electric wants to merge 1 commit into
wmadden-electric wants to merge 1 commit into
Conversation
…n reaches the target Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
Contributor
|
⏸️ Gizmo skipped the automatic review of 95327f0 because this pull request is a draft. It will review automatically once the PR is marked ready for review.
|
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
Contributor
🍈 Lychee Link Check Report34 links: ✅ All links are working!Full Statistics Table
|
Contributor
Author
|
Closing as superseded by #8896, which updated this page for 8.0.0-rc.25. That change already removed the warning against running the printed commands and shows the error text the released CLI prints. With |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
db migratefails withMIGRATION.PATH_UNREACHABLEwhen you change the contract, emit it, and do not plan a migration. Until now the commands that error printed did not run, so this page told readers not to run them. prisma/orm#31130 fixes the error, and it now prints:This change shows the new output on the
db migratepage and removes the warning (added in #8853). It tells the reader to run the two printed commands.Do not merge before the release that contains prisma/orm#31130. Until then the page as it is on
maindescribes what users see. That is why this is a draft.The error reference page needs no change here: it is built from the release, so it picks up the new text when the release that contains prisma/orm#31130 is published.
When this merges, item D37 in
docs/orm-docs-audit/changes.mdon branchdocs/orm8-docs-audit-designis done.Agent: shakespeare-47