Schema not added to FK constraints
Hi! ๐๐ฝ
I'm trying to use drizzle with MySQL. I have a mysqlSchema that I made and then am trying to create a FK but the generated SQL doesn't include the schema.
Generated:
Am I doing something wrong?
6 Replies
Did you tried to delete and re-run generate one more time? IIRC I had something similar, but second run went fine.
Yes, tried multiple times without success. I can try to create a minimal reproduction
yeah, it's a bug
did fix it for Postgres
didn't fix for
whomp whomp whomp ๐ Thank you for the confirmation!
Should I log a bug for MySQL or does one exist?
Would be great if you could create an issue for that
Filed here for reference: https://github.com/drizzle-team/drizzle-orm/issues/767
GitHub
[BUG]: Schema not added to Foreign Key constraints ยท Issue #767 ยท d...
What version of drizzle-orm are you using? 0.26.5 What version of drizzle-kit are you using? 0.18.1 Describe the Bug I'm trying to use drizzle with MySQL. I have a mysqlSchema that I made and t...