npx skills add ...
npx skills add prisma/cursor-plugin --skill prisma-cli-migrate-status
npx skills add prisma/cursor-plugin --skill prisma-cli-migrate-status
prisma migrate status
Checks the status of your database migrations.
_prisma_migrations table| Option | Description |
|---|---|
--schema | Path to schema file |
--config | Custom path to your Prisma config file |
Output example (Up to date):
Output example (Pending):
migrate dev complaining about drift?migrate deploy) or if a deployment failed0: Success (may have pending migrations, but command ran successfully)1: ErrorTo check for pending migrations programmatically, you might need to parse the output or use migrate diff with exit code flags.