Skip to content

Conversation

@saikumarvasa100-hash
Copy link

@saikumarvasa100-hash saikumarvasa100-hash commented Nov 20, 2025

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

  • Chores
    • Removed a legacy documentation redirect, so the old documentation URL no longer forwards to the updated page; users should use the current documentation path directly.

✏️ Tip: You can customize this high-level summary in your review settings.

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
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 20, 2025

Walkthrough

Removed a redirect mapping from the static redirects file: the legacy path /concepts/components/prisma-client/working-with-json was deleted; no new redirect was added.

Changes

Cohort / File(s) Summary
Redirect configuration
static/_redirects
Removed redirect entry for /concepts/components/prisma-client/working-with-json that pointed to /docs/concepts/components/prisma-client/working-with-advanced-types

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Files to check: static/_redirects for accidental removal of additional lines or formatting issues.

Possibly related PRs

Pre-merge checks

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title claims to 'Add missing redirect' but the raw summary shows a redirect was removed, not added, creating a contradiction between title and actual changes. Update the title to accurately reflect that a redirect was removed (e.g., 'Fix: Remove outdated redirect for shadow-database docs') or clarify if this is replacing an old redirect with a new one.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5d76825 and b78019d.

📒 Files selected for processing (1)
  • static/_redirects (0 hunks)
💤 Files with no reviewable changes (1)
  • static/_redirects

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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

📥 Commits

Reviewing files that changed from the base of the PR and between 28fbacd and 5d76825.

📒 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant