Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
prisma avatar

Prisma Cli Migrate Status

  • 13 installs
  • 8 repo stars
  • Updated February 9, 2026
  • prisma/cursor-plugin

prisma-cli-migrate-status checks pending and failed Prisma migrations.

About

The prisma-cli-migrate-status skill documents prisma migrate status connecting to the database, reading _prisma_migrations, and comparing against local prisma/migrations files. Reports whether schema is up to date, lists unapplied migrations with counts, flags DB-only migrations missing locally, and surfaces failed apply attempts. Output suggests migrate dev for development or migrate deploy for production follow-ups. Use in CI before deploy, when debugging drift complaints from migrate dev, or verifying prod state after a failed release. Exit code 1 indicates command errors while success may still list pending files. Compares local migration files to database history. Reports pending, missing, and failed migrations. Suggests migrate dev or migrate deploy next steps. Useful CI preflight before production deploy. Explains drift debugging scenarios. Status report with pending or failed migration list. User checks migration status before deploy or after failures.

  • Compares local migration files to database history.
  • Reports pending, missing, and failed migrations.
  • Suggests migrate dev or migrate deploy next steps.
  • Useful CI preflight before production deploy.
  • Explains drift debugging scenarios.

Prisma Cli Migrate Status by the numbers

  • 13 all-time installs (skills.sh)
  • Ranked #627 of 911 Databases skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

prisma-cli-migrate-status capabilities & compatibility

Capabilities
what it does report types · when to use debugging and ci
Use cases
database · ci cd
From the docs

What prisma-cli-migrate-status says it does

Checks the status of your database migrations
SKILL.md
Failed migrations
SKILL.md
npx skills add https://github.com/prisma/cursor-plugin --skill prisma-cli-migrate-status

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs13
repo stars8
Last updatedFebruary 9, 2026
Repositoryprisma/cursor-plugin

How do I see which Prisma migrations are pending?

Check applied versus local Prisma migrations including pending, missing, and failed states.

Who is it for?

DevOps verifying DB migration state in CI or prod.

Skip if: Skip when no migrations exist in the project.

When should I use this skill?

User checks migration status before deploy or after failures.

What you get

Status report with pending or failed migration list.

Files

SKILL.mdMarkdownGitHub ↗

prisma migrate status

Checks the status of your database migrations.

Command

prisma migrate status [options]

What It Does

  • Connects to the database
  • Checks the _prisma_migrations table
  • Compares applied migrations with local migration files
  • Reports:
  • Status: Database is up-to-date or behind
  • Unapplied migrations: Count of pending migrations
  • Missing migrations: Migrations present in DB but missing locally
  • Failed migrations: Any migrations that failed to apply

Options

OptionDescription
--schemaPath to schema file
--configCustom path to your Prisma config file

Examples

Check status

prisma migrate status

Output example (Up to date):

Database schema is up to date!

Output example (Pending):

Following migration have not yet been applied:
  20240115120000_add_user

To apply migrations in development, run:
  prisma migrate dev

To apply migrations in production, run:
  prisma migrate deploy

When to Use

  • Debugging: Why is migrate dev complaining about drift?
  • CI/CD: Verify database state before deploying
  • Production: Check if migrations are needed (migrate deploy) or if a deployment failed

Exit Codes

  • 0: Success (may have pending migrations, but command ran successfully)
  • 1: Error

To check for pending migrations programmatically, you might need to parse the output or use migrate diff with exit code flags.

Related skills

FAQ

What does prisma-cli-migrate-status do?

prisma-cli-migrate-status checks pending and failed Prisma migrations.

When should I use prisma-cli-migrate-status?

User checks migration status before deploy or after failures.

Is this skill safe to install?

Review the Security Audits panel on this page before installing in production.

Databasesdatabases

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.