How do I rollback a migration? #8659
Answered
by
marekryb
fmh-finanzberatung
asked this question in
Questions
-
|
I need to be able to rollback migrations. How do I do that? Otherwise I end up with tons of migrations during development. |
Beta Was this translation helpful? Give feedback.
Answered by
marekryb
Jun 30, 2023
Replies: 1 comment 1 reply
-
|
With anything related to migrations, you are dealing directly with Prisma migrate. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fmh-finanzberatung
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With anything related to migrations, you are dealing directly with Prisma migrate.
See related docs (not sure you actually mean rollback - seems you need squash):
Squashing migrations
Generating down migrations