Andreas
DTDrizzle Team
•Created by Andreas on 1/2/2025 in #help
Cannot read properties of undefined (reading 'referencedTable') for many-to-many
Ok, never mind. I think its a bug in Drizzle Studio :(. I created a simple
testDB.ts
with
And I got the expected result. This is kind of annoying and I lost 3 hours :(.18 replies
DTDrizzle Team
•Created by Andreas on 1/2/2025 in #help
Cannot read properties of undefined (reading 'referencedTable') for many-to-many
@Tenkes Ok, that's kind of strange. I moved the example (with slight differences) to drizzle.run and it is working as expected https://drizzle.run/tjfaup6m3q9z8iys5o2bgf2k. One of the differences is, that I'm using a single schema file instead of multiple files. I'll try this now on my local machine.
18 replies
DTDrizzle Team
•Created by Andreas on 1/2/2025 in #help
Cannot read properties of undefined (reading 'referencedTable') for many-to-many
Nice, I'll try that. Let's see if I can find the issue
18 replies
DTDrizzle Team
•Created by Andreas on 1/2/2025 in #help
Cannot read properties of undefined (reading 'referencedTable') for many-to-many
Any further recommendations how I could track down the issue (besided form debugging the drizzle code 😅)
18 replies
DTDrizzle Team
•Created by Andreas on 1/2/2025 in #help
Cannot read properties of undefined (reading 'referencedTable') for many-to-many
Ok, I changed my barrel file to this. But the error is still the same 😦
18 replies
DTDrizzle Team
•Created by Andreas on 1/2/2025 in #help
Cannot read properties of undefined (reading 'referencedTable') for many-to-many
Hey @Tenkes . Tried it but same error 😦
18 replies
DTDrizzle Team
•Created by Andreas on 1/2/2025 in #help
Cannot read properties of undefined (reading 'referencedTable') for many-to-many
Hey @Tenkes , sure. In my first version of the post I already had the content in the post but couldn't send it due to length limitations.
18 replies