How do you approach local development with db changes?
Hi all, I'm using a standard next.js prisma setup. I was wondering how teams approach migrations on separate branches, and handling merging and undoing them. ie if i start a migration on my branch, but decide not to keep it, how do I undo those changes when I go back to my main branch?
in traditional worlds I'd run a down migration on the branch before i switch to main, curious if a similar concept exists here in prisma.
1 Reply
Hello @truly 👋
I was wondering how teams approach migrationsHave you seen this guide? https://www.prisma.io/docs/orm/prisma-migrate/workflows/team-development
Team development | Prisma Documentation
How to use Prisma Migrate when collaborating on a project as a team.