Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How do you define two tables that have foreign keys to each other? drizzle-kit introspect fails - Drizzle Team
DT
Drizzle Team
•
2y ago
•
4 replies
francis
How do you define two tables that have foreign keys to each other? drizzle-kit introspect fails
Drizzle
-kit now generates a schema file with type errors
- it was previously working prior to 0
.24
.0
.
In addition
, the generated foreign key entry for multicolumn foreign keys has the columns in the incorrect order
.
(code below due to length limit
)
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
drizzle-kit introspect reorder tables
DT
Drizzle Team / help
3y ago
Two tables that references each other
DT
Drizzle Team / help
2y ago
drizzle-kit generate tries to delete all foreign keys
DT
Drizzle Team / help
4mo ago
drizzle-kit introspect schemaFilters parameter ignored
DT
Drizzle Team / help
15mo ago