Theo's Typesafe CultTTC
Theo's Typesafe Cult2y ago
2 replies
Ben

Prisma Migrate Diff coming back when it shouldn't

Our team is using Prisma as our ORM, and have a Github Action that runs

npx prisma migrate diff --exit-code --from-schema-datasource ./prisma/schema.prisma --to-migrations ./prisma/migrations --shadow-database-url


as part of our CI/CD. In a recent merge, the Diff command is flagging the follow changes

[*] Changed the
Project
table
[+] Added column
assignedUsers

[+] Added column
tags


However, as you can see in our PR, both the schema changes, and the corresponding migrations, are present.

Would appreciate some help!
Screenshot_2024-05-14_at_4.png
Was this page helpful?