drizzle-studio showing duplicate relations

why is this drizzle studio showing duplicate columns for a relationship? Here's my schema file
No description
No description
7 Replies
rphlmr ⚡
rphlmr ⚡8mo ago
Not 100% but I think examType is just a materialization of the examRelations (one). I could be wrong; I haven’t used Studio for a while.
Pradip Chaudhary
Pradip ChaudharyOP8mo ago
But we need to define that relation for proper type safety right?
rphlmr ⚡
rphlmr ⚡8mo ago
Yes if you want to use the relation api (query api). Maybe it is a glitch in studio
Korax
Korax2mo ago
Hey, I have exactly the same issue with multiple types and all the other relations. The DB config and everything else seem to be correct, however this issue is quite annoying. Have you figured out a way to solve it? @Pradip Chaudhary
No description
Pradip Chaudhary
Pradip ChaudharyOP2mo ago
I haven't checked it recently but at the time I just started ignoring it as it wasn't that important
Korax
Korax2mo ago
Thanks, I guess thats the only way probably for now 🙂

Did you find this page helpful?