con un clic
prisma-cli-migrate-status
prisma migrate status
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
prisma migrate status
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación 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.