Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(migrate) Print migration names as they are being applied #9580

Closed
tomhoule opened this issue Oct 4, 2021 · 0 comments
Closed

(migrate) Print migration names as they are being applied #9580

tomhoule opened this issue Oct 4, 2021 · 0 comments
Labels
kind/feature A request for a new feature. team/schema Issue for team Schema. topic: migrate topic: prisma migrate deploy CLI: prisma migrate deploy topic: prisma migrate dev CLI: prisma migrate dev
Milestone

Comments

@tomhoule
Copy link
Contributor

tomhoule commented Oct 4, 2021

Problem

The names of applied migrations are only printed after they have been all applied. If a migration fails, in certain circumstances you have to run prisma migrate status to know which one.

Suggested solution

Print the names of applied migrations just before applying each of them.

Additional context

Implemented in prisma/prisma-engines#2044 #7896 and #8536

@tomhoule tomhoule added kind/feature A request for a new feature. topic: migrate topic: cli-migrate team/schema Issue for team Schema. topic: prisma migrate dev CLI: prisma migrate dev topic: prisma migrate deploy CLI: prisma migrate deploy labels Oct 4, 2021
@tomhoule tomhoule added this to the 3.2.0 milestone Oct 4, 2021
@tomhoule tomhoule closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A request for a new feature. team/schema Issue for team Schema. topic: migrate topic: prisma migrate deploy CLI: prisma migrate deploy topic: prisma migrate dev CLI: prisma migrate dev
Projects
None yet
Development

No branches or pull requests

2 participants