with one click
prisma-cli-migrate-status
prisma migrate status
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
prisma migrate status
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
prisma db execute. Reference when using this Prisma feature.
prisma db pull. Reference when using this Prisma feature.
prisma db push. Reference when using this Prisma feature.
prisma db seed. Reference when using this Prisma feature.
prisma debug. Reference when using this Prisma feature.
prisma dev. Reference when using this Prisma feature.
| name | prisma-cli-migrate-status |
| description | prisma migrate status |
| license | MIT |
| metadata | {"author":"prisma","version":"7.0.0"} |
Checks the status of your database migrations.
prisma migrate status [options]
_prisma_migrations table| Option | Description |
|---|---|
--schema | Path to schema file |
--config | Custom path to your Prisma config file |
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
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.