Introspecting an existing database doesn't handle join tables correctly
I'm in the process of adding Prisma to an existing project with a large existing database (originally created with Prisma 1). I've introspected the database and edited the schema so that the names of the relation fields are cased correctly. I then created an initial migration SQL file as per the guide and marked it as applied.
When I try to create a new migration, I keep getting errors telling me that ALL of my existing JOIN tables are incorrect:
What's going on here, and how do I fix it?
When I try to create a new migration, I keep getting errors telling me that ALL of my existing JOIN tables are incorrect:
What's going on here, and how do I fix it?