Closed chrissiwaffler closed 1 year ago
If relational
is set to true, the generator won't pick up foreign keys but rather variables defined with the relations
function. So in you're case, you need to set relational
to false to generate correctly.
Oh yes, thanks, didn't fully read your docs š¬, works now! Many thanks for replying so quickly š
relations between tables are missing when having a sqlite schema.
I hope this schema is correctly defined in drizzle
Steps to reproduce:
schema.ts
:dbml.ts
:generated
schema.dbml
: