-
Notifications
You must be signed in to change notification settings - Fork 863
Fix: Add missing redirect for shadow-database docs (Issue #28586) #7300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The short URL https://pris.ly/d/migrate-shadow was redirecting to the old documentation path /concepts/components/prisma-migrate/shadow-database which resulted in a 404 error. This PR adds a redirect from the old path to the new documentation location at /docs/orm/prisma-migrate/understanding-prisma-migrate/shadow-database. Fixes #28586
WalkthroughRemoved a redirect mapping from the static redirects file: the legacy path Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
Possibly related PRs
Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
static/_redirects(1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.
Applied to files:
static/_redirects
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".
Applied to files:
static/_redirects
As identified by CodeRabbit bot, the redirect for /concepts/components/prisma-migrate/shadow-database already exists at line 573 in a more appropriate location with other Prisma Migrate redirects. Removing this duplicate entry to avoid unpredictable behavior and maintenance issues.
The short URL https://pris.ly/d/migrate-shadow was redirecting to the old documentation path /concepts/components/prisma-migrate/shadow-database which resulted in a 404 error.
This PR adds a redirect from the old path to the new documentation location at /docs/orm/prisma-migrate/understanding-prisma-migrate/shadow-database.
Fixes #28586
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.