Join Slack
Powered by
Does anyone know if when relationships are created...
# orm-help
j
justinhandley
07/12/2021, 2:52 PM
Does anyone know if when relationships are created Prisma automatically indexes foreign keys?
j
janpio
07/12/2021, 3:43 PM
Yes they do, they are backed by foreign keys (and foreign keys are used to detect relations)
j
justinhandley
07/13/2021, 2:36 PM
So, we are getting database notices that full table scans are being run on some of our relationship tables. Why would that be happening?
j
janpio
07/13/2021, 9:41 PM
No, but you have access to the schema and the messages, so feel free to create a bug report issue in the prisma repo so we can look at that.
2
Views
Open in Slack
Previous
Next