prisma-cli-migrate-diff

Installation
SKILL.md

prisma migrate diff

Compares database schemas and generates diffs (SQL or summary).

Command

prisma migrate diff [options]

What It Does

  • Compares two sources (--from-... and --to-...)
  • Sources can be:
    • Empty (empty)
    • Schema file (schema)
    • Migrations directory (migrations)
    • Database URL (url) or Configured Datasource (config-datasource)
  • Outputs the difference:
Related skills
Installs
7
GitHub Stars
8
First Seen
Apr 3, 2026