Prisma Next is in early access.Read the docs

prisma-next migration show

Inspect a Prisma Next migration package.

prisma-next migration show displays the operations, statement preview, and metadata for a migration package.

Use this command during review before applying a migration package.

Usage

prisma-next migration show

Pass a directory path or migration hash prefix to inspect a specific migration:

prisma-next migration show sha256:a1b2c3

Options

OptionWhat it does
[target]Migration path or migration hash prefix. Defaults to the latest migration.
--config <path>Reads a specific prisma-next.config.ts file.
--jsonPrints a machine-readable result.

Examples

prisma-next migration show
prisma-next migration show ./migrations/app/20260515T1200_add-users
prisma-next migration show sha256:a1b2c3 --json

What to check

Before applying, review:

  • the source and destination contract hashes
  • the planned operations
  • generated SQL statements or operation payloads
  • any extension-space migrations included with the application migration

On this page