You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a MySQL schema with many to many relations and there are some that are not shown at all in Drizzle Studio, even if in TypeScript I can join them using the with parameter as shown here:
This is a relations saying that a Product can have many ItemCategory and a single ItemCategory can be assigned to many Products.
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?0.20.17
Describe the Bug
I have a MySQL schema with
many to many
relations and there are some that are not shown at all in Drizzle Studio, even if in TypeScript I can join them using thewith
parameter as shown here:This is a relations saying that a
Product
can have manyItemCategory
and a singleItemCategory
can be assigned to manyProduct
s.In my schema, here is how I defined them:
However, when I open the
ProductCategoryTable
on Drizzle Studio, I only see the relation to the products and not to the categories:Also, the
ItemCategoryTable
does not show relation toProductCategoryTable
as shown here:I already other many to many relations without any issue, but this one and some other just wont work
Expected behavior
I expect the relations to be shown in Drizzle Studio just like in the TS code
Environment & setup
I'm using Node 18.19.1
The text was updated successfully, but these errors were encountered: