Hi:wave: How to rollback a migration even if it is...
# orm-help
i
Hi๐Ÿ‘‹ How to rollback a migration even if it is not in failed state. @Ryan Please guide ๐Ÿ˜Š
r
@Ibad Shaikh ๐Ÿ‘‹ We donโ€™t support rollbacks at the moment. What you can do is perform a forward migration that resets it to the previous state in which it was before.
d
Hey, @Ibad Shaikh I know it's been a couple of months since you asked. But we've been hard at work at addressing situations around rollbacks. We now have two new commands to help you. Here is a guide how to use them. We'd love to get some feedback on that solution. https://www.prisma.io/docs/guides/database/production-troubleshooting#new-commands-migrate-diff-and-db-execute