© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•13mo ago
timche

schema in multiple files breaks types

I have split my schema into multiple files and exported them all like before with a single file. but now some of the types aren't working anymore and properties are missing/
undefined
undefined
on tables.

if I place everything in a single schema again, it's working fine. I haven't changed any of the exports either.
Screenshot_2025-02-07_at_19.47.12.png
Screenshot_2025-02-07_at_19.47.30.png
Screenshot_2025-02-07_at_19.48.07.png
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

multiple schema files
Drizzle TeamDTDrizzle Team / help
13mo ago
schema types
Drizzle TeamDTDrizzle Team / help
3y ago
Using inferred schema types in Next.js client components, 'server-only' breaks Drizzle Studio.
Drizzle TeamDTDrizzle Team / help
16mo ago
Push with schema in separate files
Drizzle TeamDTDrizzle Team / help
3y ago