Ben
Explore posts from serversPPrisma
•Created by Ben on 5/14/2024 in #help-and-questions
Prisma Migrate Diff coming back when it shouldn't
Bumping to see if anyone might have an answer
3 replies
PPrisma
•Created by Ben on 5/14/2024 in #help-and-questions
Prisma Migrate Diff coming back when it shouldn't
Very weirdly, I ran Prisma migrate diff locally, and it came up with these same diffs, as well as another change from a sperate branch that was present on my development DB.
I then ran npx prisma db push, re-ran the
migrate diff
and it came back as clean. This indicates the state of my DB is having some sort of impact on this migrate diff
command, which makes no sense since I'm checking Prisma.schema against my migrations folder, not against the current state of my DB 🤕3 replies