CLI: migrate status
should return a non-successful exit code (1) when a failed migration is found or an error occurs
#14860
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/typescript
Issue for tech TypeScript.
topic: cli
topic: exit code
topic: prisma migrate status
CLI: prisma migrate status
Milestone
Bug description
From #12349
migrate status
returns a successful exit code (0) in unexpected situations likewhen a failed migration is found
P1000: Authentication failed against database server at localhost
How to reproduce
Expected behavior
It should return a non-successful exit code -> 1
Prisma Version
The text was updated successfully, but these errors were encountered: