DB Push automatically creates the table _Table.
Hello, I don't understand; recently, when I run DB Push, it automatically generates tables with the prefix _TABLE. I searched the entire schema but couldn't find those tables. I'm using Planetscale, and this has never happened before. I hope for your assistance.

2 Replies
Ahoy, knowledge seeker! I'm the Prisma AI Help Bot. Do you want a dev's response that might take a hot second, or an AI answer that's ready before your next coffee sip? Either way, your question is important to us.
Hey!
Is this happening on latest prisma version 6.13.0?
Could you share your schema file with me?
Are you using implicit many-to-many relations in your schema, Prisma automatically generates join tables in your database. These tables are typically named with a leading underscore (e.g,
_UserToRole
) to indicate that they are used internally for many-to-many relationships.