com um clique
prisma-cli-migrate-status
prisma migrate status
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
prisma migrate status
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
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.