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 ⚡6mo 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 ChaudharyOP6mo ago
But we need to define that relation for proper type safety right?
rphlmr ⚡
rphlmr ⚡6mo ago
Yes if you want to use the relation api (query api). Maybe it is a glitch in studio
Korax
Korax2w 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 ChaudharyOP2w ago
I haven't checked it recently but at the time I just started ignoring it as it wasn't that important
Korax
Korax2w ago
Thanks, I guess thats the only way probably for now 🙂
Want results from more Discord servers?
Add your server