drizzle-seed breaks when trying to follow the one-to-one example
I am attempting to follow along with the One-to-one relation guide ( https://orm.drizzle.team/docs/relations#one-to-one )
The only difference is that I am using mysql (actually mariaDB)
Here's my schema:
When I run my
drizzle-seed
script:
Then I get thrown this warning and error.
Why is that? is it a bug? or is the example faulty? or both?
To my understanding:
- the warning is at the very least a bug, because I'm not defining a one-to-many relation AFAIK
- the example must be faulty for me to run into a TypeError here?Drizzle ORM - Relations
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.

0 Replies