Many-to-many relationship not showing in prisma studio?
This is my prisma schema:
And I'm doing database requests not through prisma, but through sqlx in rust. When I create an entry for track and artist and then connect those in the TrackToArtist table, everything gets inserted to the database, but the relationships are not showing in prisma studio?
2 Replies
Also returns an empty artists array.
Can you do an
npx prisma db pull
after inserting the data? This will update your Prisma schema to reflect the current state of your database. Then you can try checking Prisma studio again